You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2019/05/02 09:09:13 UTC

[GitHub] [cloudstack] anuragaw commented on issue #2823: api: project: tag: User not allowed to tag project created by him

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:
users@infra.apache.org


With regards,
Apache Git Services