Skip to content
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

Make resource presets configurable per project #1765

Open
achimnol opened this issue Dec 7, 2023 · 0 comments
Open

Make resource presets configurable per project #1765

achimnol opened this issue Dec 7, 2023 · 0 comments
Assignees
Labels
area:ux UI / UX issue. comp:manager Related to Manager component impact:visible This change is visible to users. urgency:3 Must be finished within a certain time frame.
Milestone

Comments

@achimnol
Copy link
Member

achimnol commented Dec 7, 2023

Currently resource presets do not have any visibility settings.

Let's make them per-project items.
(resource preset entry : project = N : 1)
For now, let's allow editing this per-project resource preset only to superadmins and domain-admins.

Once we introduce the proper RBAC, any user who has the project_admin role on a project will be able to edit them.

Migration

After adding the project foreign key to the resource preset table with the default value to the default project (or any first project entry found), replicate all presets to all existing projects. If there is no project configured at all, remove them after dumping the rows to the console output.

Extra

#1633 may be implemented as a project-level configuration.

@achimnol achimnol added type:feature Add new features area:ux UI / UX issue. comp:manager Related to Manager component impact:visible This change is visible to users. urgency:3 Must be finished within a certain time frame. labels Dec 7, 2023
@achimnol achimnol added this to the 24.03 milestone Dec 7, 2023
@fregataa fregataa self-assigned this Dec 19, 2023
@achimnol achimnol removed the type:feature Add new features label Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:ux UI / UX issue. comp:manager Related to Manager component impact:visible This change is visible to users. urgency:3 Must be finished within a certain time frame.
Projects
None yet
Development

No branches or pull requests

2 participants