Details
-
Bug
-
Resolution: Timed out
-
Low
-
31
-
Description
While developing a Bitbucket add-on I noticed the user lifecycle attribute sent to my add-on on installation is the same as the principal attribute even though I installed the add-on for a team, as a user (that is part of said team).
I.e, I get:
{ "productType": "bitbucket", "principal": { "username": "productize", "website": "https://productize.be/", "display_name": "productize", "uuid": "{8d07dd4d-... "type": "team" }, "user": { "username": "productize", ... "uuid": "{8d07dd4d-... "type": "team" }, ... }
While I would expect something like:
{ "productType": "bitbucket", "principal": { "username": "productize", "website": "https://productize.be/", "display_name": "productize", "uuid": "{8d07dd4d- ... "type": "team", ... }, "user": { "username": "seppestas", "website": "https://sep.pe/", "display_name": "seppestas", "type": "user", ... }, ... }
Which would be a lot more useful for e.g security auditing purposes.