tgstation-server 6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
PermissionSet.cs
Go to the documentation of this file.
1using System.Collections.Generic;
2
4
6{
8 public sealed class PermissionSet : Api.Models.PermissionSet, IApiTransformable<PermissionSet, GraphQL.Types.PermissionSet, PermissionSetGraphQLTransformer>
9 {
13 public long? UserId { get; set; }
14
18 public long? GroupId { get; set; }
19
23 public User? User { get; set; }
24
28 public UserGroup? Group { get; set; }
29
33 public ICollection<InstancePermissionSet>? InstancePermissionSets { get; set; }
34
45 }
46}
Represents a set of server permissions.
AdministrationRights? AdministrationRights
The Rights.AdministrationRights for the user.
InstanceManagerRights? InstanceManagerRights
The Rights.InstanceManagerRights for the user.
Api.Models.PermissionSet ToApi()
Convert the PermissionSet to it's API form.
long? GroupId
The Api.Models.EntityId.Id of Group.
long? UserId
The Api.Models.EntityId.Id of User.
ICollection< InstancePermissionSet >? InstancePermissionSets
The InstancePermissionSets associated with the PermissionSet.
UserGroup? Group
The UserGroup the PermissionSet belongs to, if it is for a UserGroup.
Represents a group of Users.
Definition UserGroup.cs:16
Represents a host-side model that may be transformed into a TApiModel .