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

[#50844] New permissions for project attributes on project level #15906

Draft
wants to merge 24 commits into
base: dev
Choose a base branch
from

Conversation

dombesz
Copy link
Contributor

@dombesz dombesz commented Jun 20, 2024

https://community.openproject.org/work_packages/50844

There are two new permissions on project level:

  1. View project attributes:
  • Add permission
  • Migration: This new permission is added to all roles
    The specification used to say "to all roles that have the permission "View project"". "View project" is an internal permission that every role has so the requirement is equivalent.
  • Seeding: Add to all roles
  1. Edit project attributes:
  • Add permission
  • Migration: This new permission is added to all roles that have the permission "Edit project".
  • Seeding: Add to all roles that currently have the "Edit project" permission.
  • Activating the "Edit project attributes" permission for a role should require the activation of "View project attributes" permission too.
  1. Users not having the view permission in a project cannot:
  • Find the project in which they lack the permission by applying a filter for the project attribute even if they have the permission to see the project attribute in another project.
  • See the project attributes in the overview page
    The project overview spans the entire width, without the right pane
  • See the project attributes in the project settings
  • See the project attributes in the project list
  • See the project attributes in the project list export
  • See the project attributes in the API
  • See the project attributes in the Schema API
  1. Users not having the edit permission (but the view permission) in a project cannot:
  • Write the project attributes in the overview
  • Write the project attributes in the project settings
  • Write the project attributes in the API
  • Write the project attributes in the Schema API (receive them as readonly)
  1. Update documentation
  • About the view and edit project permissions

Base automatically changed from update-ruby-3.3.3 to dev June 20, 2024 07:58
@dombesz dombesz force-pushed the feature/50844-new-permissions-for-project-attributes-on-project-level branch from 804edee to 3b6add1 Compare June 20, 2024 11:15
@dombesz dombesz added this to the 14.3.x milestone Jun 20, 2024
@dombesz dombesz force-pushed the feature/50844-new-permissions-for-project-attributes-on-project-level branch 3 times, most recently from 142f9ea to c0c92b0 Compare June 28, 2024 18:22
@dombesz dombesz force-pushed the feature/50844-new-permissions-for-project-attributes-on-project-level branch 4 times, most recently from 7546708 to 35e6e0c Compare July 5, 2024 10:16
@dombesz dombesz modified the milestones: 14.3.x, 14.4.x Jul 6, 2024
@dombesz dombesz force-pushed the feature/50844-new-permissions-for-project-attributes-on-project-level branch 3 times, most recently from 7a32d59 to dc86945 Compare July 11, 2024 11:35
@dombesz dombesz force-pushed the feature/50844-new-permissions-for-project-attributes-on-project-level branch from dc86945 to 069694f Compare July 12, 2024 11:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant