Structure
Role
public struct Role: Decodable, Equatable
Represents a role that a user can have within a project or an organization.
A Role
is typically used when inviting a new member to a project or an organization, or when
listing out the members of a project or an organization.
Functions relevant for Role
s are implemented on the Disruptive
struct:
Relationships
Nested Types
Role.RoleType
The level of access that is given to a role.
Conforms To
Decodable
Equatable
Initializers
init(from:)
public init(from decoder: Decoder) throws
Properties
permissions
public let permissions: [Permission]
A list of permissions the role has. Indicates which actions can be taken on various resources