Re: Hierarchical permissions and the hasAny check

2018-01-16 Thread Gh T
extras/blob/master/src/ > test/java/eu/flatwhite/shiro/spatial/SpatialPermissionTest.java#L80 > that is similar to a "tree like" permissions initially described here, > along with "allow to the granted permission path" functionality. > > HTH, > T > > > &

Re: Hierarchical permissions and the hasAny check

2018-01-16 Thread Gh T
Hello Claude, Not sure to follow completely, but the old proposal mentionned was about changes on the WildcardPermission class itself (you can check the associated patch in the referred JIRA). Best, Ghislain

Re: Hierarchical permissions and the hasAny check

2018-01-15 Thread Gh T
Hello Claude, Your requirement looks a bit like a proposal I made a long time ago, the idea was to introduce an "any" operator ("?") in the wildcard permission syntax in order to be able to check permissions like "is the user allowed to do something, whatever it is, on this resource?". In your par