AddLink adds the inheritance link between two roles. role: name1 and role: name2. domain is a prefix to the roles (can be used for other purposes).
(name1 string, name2 string, domain ...string)
| 25 | // AddLink adds the inheritance link between two roles. role: name1 and role: name2. |
| 26 | // domain is a prefix to the roles (can be used for other purposes). |
| 27 | AddLink(name1 string, name2 string, domain ...string) error |
| 28 | // Deprecated: BuildRelationship is no longer required |
| 29 | BuildRelationship(name1 string, name2 string, domain ...string) error |
| 30 | // DeleteLink deletes the inheritance link between two roles. role: name1 and role: name2. |
no outgoing calls