anuragaw commented on issue #2823: api: project: tag: User not allowed to tag 
project created by him
URL: https://github.com/apache/cloudstack/issues/2823#issuecomment-488600704
 
 
   Permission is denied because when tagging we attempt to check for 
permissions - which is as follows -
   1. Check if the entity is owned by some account id - represented by 
implemented `OwnedBy` interface.
   2. If it's not owned by an account id, it's considered to be owned by System 
and users cannot tag the resource.
   
   We can possibly extend Projects start tracking by a user and possibly better 
extend current logic to -
   1. Check if account trying to tag is either admin or 
   2. the user who created the Project.
   
   The issue is we don't have anyway to track the users who created already 
existing projects.
   
   thoughts @rhtyd , @resmo , @rafaelweingartner , @PaulAngus , 
@GabrielBrascher ?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to