mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-24 05:27:30 +01:00
Flesh out graph structure some more
This commit is contained in:
@@ -14,5 +14,12 @@ namespace Tgstation.Server.Host.GraphQL.Types
|
||||
/// <returns>Queryable <see cref="InstancePermissionSet"/>s.</returns>
|
||||
public IQueryable<InstancePermissionSet> QueryableInstancePermissionSets()
|
||||
=> throw new NotImplementedException();
|
||||
|
||||
/// <summary>
|
||||
/// Gets the callers effective <see cref="InstancePermissionSet"/> on the <see cref="Instance"/>.
|
||||
/// </summary>
|
||||
/// <returns>The callers effective <see cref="InstancePermissionSet"/> if it exists or <see langword="null"/>.</returns>
|
||||
public InstancePermissionSet? EffectivePermissionSet()
|
||||
=> throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
using Tgstation.Server.Api.Rights;
|
||||
using System;
|
||||
|
||||
using Tgstation.Server.Api.Rights;
|
||||
|
||||
namespace Tgstation.Server.Host.GraphQL.Types
|
||||
{
|
||||
@@ -7,6 +9,13 @@ namespace Tgstation.Server.Host.GraphQL.Types
|
||||
/// </summary>
|
||||
public sealed class InstancePermissionSet
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the <see cref="Types.PermissionSet"/> the <see cref="InstancePermissionSet"/> belongs to.
|
||||
/// </summary>
|
||||
/// <returns>The owning <see cref="Types.PermissionSet"/>.</returns>
|
||||
public PermissionSet PermissionSet()
|
||||
=> throw new NotImplementedException();
|
||||
|
||||
/// <summary>
|
||||
/// The <see cref="Api.Rights.InstancePermissionSetRights"/> of the <see cref="InstancePermissionSet"/>.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user