Project Maintainer can't edit Attributes
Hi, just sadly noticed that a Project Maintainer can't edit his projects Attributes. The Maintainer User is not an OBS admin. Seems only an OBS admin is able to edit Project Attributes Is this a Feature or a BUG ? -- Christian ------------------------------------------------------------ https://join.worldcommunitygrid.org?recruiterId=177038 ------------------------------------------------------------ https://www.sc24.de - Sportbekleidung ------------------------------------------------------------
On Freitag, 21. Mai 2021, 08:06:53 CEST Christian wrote:
Hi,
just sadly noticed that a Project Maintainer can't edit his projects Attributes. The Maintainer User is not an OBS admin. Seems only an OBS admin is able to edit Project Attributes
Is this a Feature or a BUG ?
it depends what you mean with project attributes. There are attributes which have different owners than the project maintainer. For example to declare something as an official template for the entire build service. I hope you see the use case for this here :) -- 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
Hi Adrian, thanks for your answer. Am 21.05.21 um 08:22 schrieb Adrian Schröter:
On Freitag, 21. Mai 2021, 08:06:53 CEST Christian wrote:
Hi,
just sadly noticed that a Project Maintainer can't edit his projects Attributes. The Maintainer User is not an OBS admin. Seems only an OBS admin is able to edit Project Attributes
Is this a Feature or a BUG ?
it depends what you mean with project attributes. There are attributes which have different owners than the project maintainer. I mean those Attributes that can be defined on each projects Attributes tab.
For example to declare something as an official template for the entire build service.
I hope you see the use case for this here :)
Sorry, but I don't see your usecase. Still trying to understand these Attributes things. Kind Regards -- Christian ------------------------------------------------------------ https://join.worldcommunitygrid.org?recruiterId=177038 ------------------------------------------------------------ http://www.sc24.de - Sportbekleidung ------------------------------------------------------------
Am 21.05.21 um 08:06 schrieb Christian:
Hi,
just sadly noticed that a Project Maintainer can't edit his projects Attributes. The Maintainer User is not an OBS admin. Seems only an OBS admin is able to edit Project Attributes
Is this a Feature or a BUG ?
It's a feature - the permissions who can edit the attribute is defined by the attribute type. If you have a specific attribute that you can't edit, then that's a bug in the attribute type not listing maintainers as modifiers. Compare e.g. `osc api /attribute/OBS/Issues/_meta` Greetings, Stephan -- Lighten up, just enjoy life, smile more, laugh more, and don't get so worked up about things. Kenneth Branagh
Hi Stephan, thank you for your answer. Am 21.05.21 um 08:28 schrieb Stephan Kulow:
Am 21.05.21 um 08:06 schrieb Christian:
Hi,
just sadly noticed that a Project Maintainer can't edit his projects Attributes. The Maintainer User is not an OBS admin. Seems only an OBS admin is able to edit Project Attributes
Is this a Feature or a BUG ?
It's a feature - the permissions who can edit the attribute is defined by the attribute type. If you have a specific attribute that you can't edit, then that's a bug in the attribute type not listing maintainers as modifiers.
Compare e.g. `osc api /attribute/OBS/Issues/_meta` to what should I compare ?
I am trying to do something like that: ANY:Maintenance OBS:MaintenanceIdTemplate - SLE-%Y-%C OBS:MaintenanceProject OBS:VeryImportantProject ANY:SLE-12.4 OBS:ApprovedRequestSource OBS:RejectRequests - Please submit to ANY:SLE-12.4:Update OBS:UpdateProject - ANY:SLE-12.4:Update ANY:SLE-12.4:Update OBS:ApprovedRequestSource OBS:BranchTarget OBS:Maintained ANY:SLE-12.5 OBS:ApprovedRequestSource OBS:RejectRequests - Please submit to ANY:SLE-12.5:Update OBS:UpdateProject - ANY:SLE-12.5:Update ANY:SLE-12.5:Update OBS:ApprovedRequestSource OBS:BranchTarget OBS:Maintained I can define those attributes only as OBS admin. AS project Maintainer I can't still Feature ? -- Christian ------------------------------------------------------------ https://join.worldcommunitygrid.org?recruiterId=177038 ------------------------------------------------------------ http://www.sc24.de - Sportbekleidung ------------------------------------------------------------
On Dienstag, 25. Mai 2021, 20:13:17 CEST Christian wrote:
Hi Stephan,
thank you for your answer.
Am 21.05.21 um 08:28 schrieb Stephan Kulow:
Am 21.05.21 um 08:06 schrieb Christian:
Hi,
just sadly noticed that a Project Maintainer can't edit his projects Attributes. The Maintainer User is not an OBS admin. Seems only an OBS admin is able to edit Project Attributes
Is this a Feature or a BUG ?
It's a feature - the permissions who can edit the attribute is defined by the attribute type. If you have a specific attribute that you can't edit, then that's a bug in the attribute type not listing maintainers as modifiers.
Compare e.g. `osc api /attribute/OBS/Issues/_meta` to what should I compare ?
I am trying to do something like that:
ANY:Maintenance
OBS:MaintenanceIdTemplate - SLE-%Y-%C OBS:MaintenanceProject OBS:VeryImportantProject
ANY:SLE-12.4
OBS:ApprovedRequestSource OBS:RejectRequests - Please submit to ANY:SLE-12.4:Update OBS:UpdateProject - ANY:SLE-12.4:Update
ANY:SLE-12.4:Update
OBS:ApprovedRequestSource OBS:BranchTarget OBS:Maintained
ANY:SLE-12.5
OBS:ApprovedRequestSource OBS:RejectRequests - Please submit to ANY:SLE-12.5:Update OBS:UpdateProject - ANY:SLE-12.5:Update
ANY:SLE-12.5:Update
OBS:ApprovedRequestSource OBS:BranchTarget OBS:Maintained
I can define those attributes only as OBS admin.
defining an attribute namespace will always only be allowed by admins. Creating an attribute definition below that namespace may be allowed depending on the namespace permissions: osc api /attribute/Evergreen/_meta Allows for example wrosenauer to define attributes there.
AS project Maintainer I can't
as a project maintainer you may can *use* the defined attributes. But again, this depends on the definition of the attribute here. The logic and use case here is that for example that certain attributes should only be set by a specific group. For example the security team for marking packages with crypto algorithm. Or the OBS admin for promoting packages as official templates for any OBS user.
still Feature ?
yes -- 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
participants (3)
-
Adrian Schröter
-
Christian
-
Stephan Kulow