ericholguin commented on PR #6761:
URL: https://github.com/apache/trafficcontrol/pull/6761#issuecomment-1105480995

   I am seeing an issue where I cannot always share a lock with an existing 
user. Is there something I am missing?
   
   I am logged in as admin and have these users available (some I created):
   ![Screen Shot 2022-04-21 at 11 03 56 
AM](https://user-images.githubusercontent.com/14004132/164513721-7a2f045a-b93e-44a4-ba42-2ca8ffc11055.png)
   
   However when I try creating a lock with one of the users listed above, using 
my admin account, (on TO or TP)
   Example:
   ```json
   {
       "cdn": "CDN-in-a-Box",
       "message": "test",
       "soft": true,
       "sharedUserNames": ["tenant2"]
   }
   ```
   
   The response returned (or TP Alert):
   
   ```json
   {
       "alerts": [
           {
               "text": "shared users must exist and be in the same/child 
tenants of the current user",
               "level": "error"
           }
       ]
   }
   ```
   The tenant2 user clearly exists and is a child tenant of root. This also 
happens with the "readonly" user which has the same tenancy as admin: root. Is 
there a certain rule or something else I might be missing? 
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to