Re: role permission checking using Security.hasRolePermission

2007-01-15 Thread David E. Jones
Anil, My opinion on those methods is not good. My take on them is that they were a bit of an over-simplification of what usually ends up being a lot more complex. So, no, I'd rather not perpetuate this. I recommend starting with the pattern used in the ProductServices.xml#checkProductRel

role permission checking using Security.hasRolePermission

2007-01-14 Thread Anil Patel
Hi The method defined in Security.hasRolePermission and its implementation in OfBizSecutiry class provides useful service that we can use in implementation of new Service Security implementation. Like we have if-has-permission tag mini-lang, I am wondering if it be useful to have if-has-role-permi