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

Fields - Allows some roles to edit or draw feature #10658

Open
5 tasks
Gaetanbrl opened this issue Nov 8, 2024 · 0 comments · May be fixed by #10524
Open
5 tasks

Fields - Allows some roles to edit or draw feature #10658

Gaetanbrl opened this issue Nov 8, 2024 · 0 comments · May be fixed by #10524
Labels
New Feature used for new functionalities

Comments

@Gaetanbrl
Copy link
Contributor

Gaetanbrl commented Nov 8, 2024

This issue works with #10523
This issue will be includes in PR #10524 (needs same code base with editable fields)

Description

This improvement will change :

  • In General Fields settings > display geom field as other fields
  • In General Fields settings > geom field can't be changes
  • In General Fields settings > geom field is editable according to editing roles and group > This is nativ behavior
  • In General Fields settings > Fields schema use keys to identify geom field and allowed roles

Changes about attributes table toolbar (geom buttons as add feature, snap, delete, modify...) in EDIT MODE :

  • if user is not an editor but a role is includes in field setting geom editor > toolbar buttons are not visible > Needs to be an editor according to default rules
  • if user can edit and group is not includes in field setting geom editor > toolbar buttons are not visible
  • if user can edit and group is includes in field setting geom editor > toolbar buttons are visible
  • if allowed groups are not set from geom field setting > native behavior is apply
  • Admin can't edit if a specific role is set in geom field setting (see gif below)

This improvement not contains:

fields UI modification due to UI/UX logic not etablished (according to @tdipisa @offtherailz request)

Acceptance criteria

In EDIT mode :

  • Editor and not a geom editor > user can only edit attributes valeu and can't draw feature from toolbar actions (changes, add, ...)
  • Editor and geom editor > can edit attributes and geom > see full toolbar actions
  • Not editor and geom editor > Can't edit
  • Admin can't edit if a specific role is set in geom field setting (see gif below)
  • Many groups can be set in geom field setting if separate by a coma (ROLE_A,ROLE_B)

Other useful information

Image

@Gaetanbrl Gaetanbrl added the New Feature used for new functionalities label Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
New Feature used for new functionalities
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant