action #1745
closedMake the accept check permissions to do the tasks
0%
Description
There are two steps where we need different permissions when accepting the staging.
1) accepting the review for staging group
2) commiting the packages to factory
For first it should just tell you that you can't do it and tell someone else to do it.
For the second it should just let you know some nifty command that you should sent to someone with the privs to run as you don't have them.
Updated by coolo almost 11 years ago
This should be implemented as OBS API though - guessing from clients if you have permissions to do something is going to fail.
Updated by scarabeus_iv almost 11 years ago
- Status changed from New to Resolved
After discussion we agreed that we need permission checking rather on the OBS side and not side-guess it on our side.
I added argument --commit to accept command that allows me to accept the staging group without getting backtrace. So at least kinda this is fixed.
https://github.com/openSUSE/osc-plugin-factory/commit/220f842c5dd53cd2b227b997d1b6d525caedeb72