incodehq / incode-platform

Combines incode.org modules and isisaddons.org into a single set of modules.
http://platform.incode.org
Apache License 2.0
8 stars 9 forks source link

spi-security: Enhance ApplicationRole to be hierarchical, ie that a role can be made up of other more fine-grained roles #42

Open danhaywood opened 6 years ago

danhaywood commented 6 years ago

from https://github.com/isisaddons-legacy/isis-module-security/issues/44

This therefore means that ApplicationUser and ApplicationRole both become subclasses of ApplicationActor, with ApplicationActor ->* ApplicationRole.

There also needs to be some logic to prevent infinite loops (role A -> role B -> role C -> role A)