]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
ID access change (#15239)
authormetalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Tue, 11 Apr 2023 06:27:35 +0000 (16:27 +1000)
committerGitHub <noreply@github.com>
Tue, 11 Apr 2023 06:27:35 +0000 (23:27 -0700)
Content.Shared/Access/Components/IdCardComponent.cs

index 814227d3e5582833f031ef43d486a54f6cdb329e..2ebd55f2a1a26e6d2ffae6fac84526bfdff671bb 100644 (file)
@@ -7,13 +7,12 @@ namespace Content.Shared.Access.Components
 {
     [RegisterComponent, NetworkedComponent]
     [AutoGenerateComponentState]
-    [Access(typeof(SharedIdCardSystem), typeof(SharedPDASystem), typeof(SharedAgentIdCardSystem))]
+    [Access(typeof(SharedIdCardSystem), typeof(SharedPDASystem), typeof(SharedAgentIdCardSystem), Other = AccessPermissions.ReadWrite)]
     public sealed partial class IdCardComponent : Component
     {
         [DataField("fullName")]
         [AutoNetworkedField]
-        [Access(typeof(SharedIdCardSystem), typeof(SharedPDASystem), typeof(SharedAgentIdCardSystem),
-            Other = AccessPermissions.ReadWrite)] // FIXME Friends
+        // FIXME Friends
         public string? FullName;
 
         [DataField("jobTitle")]