New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Attributes modifiable_by role="maintainer" can't be modified in subprojects #8705
Comments
'edit this Attrib.' as error is a bug report in itself :) |
On Dienstag, 12. November 2019, 08:59:19 CET Fabian Vogt wrote:
The requests triggered by `OBS:AutoCleanup` clearly state:
> Such requests get not created for projects with open requests or if you
> remove the OBS:AutoCleanup attribute.
However, the `OBS:AutoCleanup` attribute can't be removed:
sure? Are you the maintainer?
# eosc api /attribute/OBS/AutoCleanup/_meta
<definition name="AutoCleanup" namespace="OBS">
<description>The object will recieve a delete request at specified time
(YYYY-MM-DD HH:MM:SS) in the value</description>
<count>1</count>
<modifiable_by role="maintainer"/>
</definition>
… > Sorry, you are not authorized to edit this Attrib.
--
Adrian Schroeter <adrian@suse.de>
Build Infrastructure Project Manager
SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany
(HRB 247165, AG München), Geschäftsführer: Felix Imendörffer
|
I can edit the project meta, prjconf, etc. just fine, but I'm not set as maintainer in the project itself, only the parent project. I'll add myself as maintainer and try again. |
That worked. So it's just inconsistent handling of permissions. |
Just for the record: this is osc or webui? |
WebUI prints
Using osc fails as well, with
|
For a reason I ignore, there is a custom permission handling for the attributes. Instead of only checking if a user can modify the project/package in which the attribute is (just like we do with the project/package's meta for example), we also have custom permission rules defined as |
The requests triggered by
OBS:AutoCleanup
clearly state:However, the
OBS:AutoCleanup
attribute can't be removed:The text was updated successfully, but these errors were encountered: