-
Notifications
You must be signed in to change notification settings - Fork 5
prepend project names with API user's id #134
Conversation
try to avoid any collision/need to share
/salted_project_name/user_project_name/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
r+. This looks fine. Let's pick a slow period and try it out.
Configuration worked well, but the new role account didn't have access to the zip files. I didn't want to share them, so I generated new ones. Everything seems to be working. |
The service seems to be starting way too many jobs... active queries aren't detecting the jobs already started by the previous user? Stopping the service for a bit... until all jobs from the previous owner are clear. |
It was the new user's jobs that it couldn't see. Fixed and working now. LMK if you'd like me to refactor any of the recent changes. |
Whenever we switch accounts running devicepool we've had to share the project with the new owner in the Bitbar UI.
Try to avoid that completely by having each user create their own projects.
This code prepends the user id to the project name that is used at bitbar.