Package org.casbin.jcasbin.rbac
package org.casbin.jcasbin.rbac
-
ClassDescriptionGroupRoleManager is used for authorization if the user's group is the role who has permission, but the group information is in the default format (policy start with "g") and the role information is in named format (policy start with "g2", "g3", ...). e.g. p, admin, domain1, data1, read g, alice, group1 g2, group1, admin, domain1 As for the previous example, alice should have the permission to read data1, but if we use the DefaultRoleManager, it will return false.