Custom permissions best practices

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Custom permissions best practices

Rashko Rejmer
Hi,

Currently I am working on moving billing account services to the new
permissions pattern.
https://issues.apache.org/jira/browse/OFBIZ-1811

I was curious about the best practise to customize permission checks. I
found in the ML that it is possible to create seca that fetches
alternative permissions if there are needed. I was also wandering isn't
it better to create separate SecurityPermission records for billing
accounts. Something like ACCTG_BILLACT_*.

Thanks in advance,
Rashko Rejmer

Reply | Threaded
Open this post in threaded view
|

Re: Custom permissions best practices

Adrian Crum
There is a good example of permission service SECAs in the Asset
Maintenance component.

-Adrian

Rashko Rejmer wrote:

> Hi,
>
> Currently I am working on moving billing account services to the new
> permissions pattern.
> https://issues.apache.org/jira/browse/OFBIZ-1811
>
> I was curious about the best practise to customize permission checks. I
> found in the ML that it is possible to create seca that fetches
> alternative permissions if there are needed. I was also wandering isn't
> it better to create separate SecurityPermission records for billing
> accounts. Something like ACCTG_BILLACT_*.
>
> Thanks in advance,
> Rashko Rejmer
>
>