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

Clarify how permissions can be applied to Form Builder #5843

Open
ebruchez opened this issue May 31, 2023 · 2 comments
Open

Clarify how permissions can be applied to Form Builder #5843

ebruchez opened this issue May 31, 2023 · 2 comments

Comments

@ebruchez
Copy link
Collaborator

Following #1860.

We need to document what global/per-app/per-form permissions do for Form Builder!

Indeed, they also allows setting data permissions for orbeon.builder, in addition to what we have in form-runner-permissions.xml.

The latter does two things:

  • Form Builder Summary page
    • depending on the user's role only
      • filter list by app/form
  • Form Builder Detail page
    • depending on the user's role only
      • restrict access to existing forms by app/form
      • restricts what new forms can be created by app/form

On the other hand global/per-app/per-form permissions allow:

  • Form Builder Summary page
    • restrict who can see the Summary page ("List" permission)
    • filter list by permissions based on role and data ownership
  • Form Builder Detail page
    • restrict who can create a form (based on roles)
    • restrict who can edit a form (based on roles/token or data ownership)

Is there any way to make a more consistent story between the two?

@ebruchez
Copy link
Collaborator Author

ebruchez commented Jun 2, 2023

If we had #1487, regular permissions could completely replace form-runner-permissions.xml.

@ebruchez
Copy link
Collaborator Author

ebruchez commented Jun 2, 2023

But if we go towards #2256, how do we express that?

@ebruchez ebruchez pinned this issue Mar 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant