Class: Conjur::RoleGrant
- Inherits:
-
Object
- Object
- Conjur::RoleGrant
- Defined in:
- lib/conjur/role_grant.rb
Overview
A RoleGrant
instance represents the membership of a role in some unspecified role. RoleGrant
s are returned
by Conjur::Role#members and represent members of the role on which the method was invoked.
Instance Attribute Summary collapse
-
#admin_option ⇒ Boolean
readonly
When true, the role #member is allowed to give this grant to other roles.
-
#grantor ⇒ Conjur::Role
readonly
The role that created this grant.
-
#member ⇒ Conjur::Role
readonly
The member role in the relationship.
Instance Attribute Details
#admin_option ⇒ Boolean (readonly)
When true, the role #member is allowed to give this grant to other roles
44 45 46 |
# File 'lib/conjur/role_grant.rb', line 44 def admin_option @admin_option end |
#grantor ⇒ Conjur::Role (readonly)
The role that created this grant.
39 40 41 |
# File 'lib/conjur/role_grant.rb', line 39 def grantor @grantor end |
#member ⇒ Conjur::Role (readonly)
The member role in the relationship
34 35 36 |
# File 'lib/conjur/role_grant.rb', line 34 def member @member end |