File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -306,6 +306,7 @@ class RoleUserAssignmentSerializer(BaseAssignmentSerializer):
306306    actor_field  =  'user' 
307307    user_ansible_id  =  serializers .UUIDField (
308308        required = False ,
309+         write_only = True ,
309310        help_text = _ ('The resource ID of the user who will receive permissions from this assignment. An alternative to user field.' ),
310311        allow_null = True ,  # for ease of use of the browseable API 
311312    )
@@ -322,6 +323,7 @@ class RoleTeamAssignmentSerializer(BaseAssignmentSerializer):
322323    actor_field  =  'team' 
323324    team_ansible_id  =  serializers .UUIDField (
324325        required = False ,
326+         write_only = True ,
325327        help_text = _ ('The resource ID of the team who will receive permissions from this assignment. An alternative to team field.' ),
326328    )
327329
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments