AdminManager can now load permissions for registered callback commands. (#6025)
This commit is contained in:
committed by
GitHub
parent
414225f463
commit
c4bf0a9479
@@ -12,7 +12,7 @@ namespace Content.Server.Administration
|
||||
/// If this attribute is used multiple times, either attribute's flag sets can be used to get access.
|
||||
/// </remarks>
|
||||
/// <seealso cref="AnyCommandAttribute"/>
|
||||
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
|
||||
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = true)]
|
||||
[BaseTypeRequired(typeof(IConsoleCommand))]
|
||||
[MeansImplicitUse]
|
||||
public sealed class AdminCommandAttribute : Attribute
|
||||
|
||||
Reference in New Issue
Block a user