Skip to content

Configure authorization for initiative creation #9294

@Ouardaoubahri

Description

@Ouardaoubahri

Is your feature request related to a problem? Please describe.

The feature we want to propose is to have persmissions to create an initiative.

As an admin, I’d like to be able to enable an authorization handler on the creation of initiative.

As a user, I will get a message (pop-up, page) to indicate that an authorization is required.

Describe the solution you'd like

  • In initiative type index, add checkbox to enable an authorization handler on the create action.

If the box is checked:

  • Display a pop-up for the user when cliking on the create initiative button :
    • Text : “In order to perform this action you need to be authorized”
    • Action button: “Authorize”
  • The button Authorize should redirect to the authorization form.

Describe alternatives you've considered

The AH should be associated in the last step of the initiative creation ('/create_initiative/finish'), instead when you click on the "New initiative" button. ( @Carol)

Does this issue could impact on users private data?

Yes, because depending on authorizations, private data could be collected during the initiative creation process.

Mockups

Enable an authorization handler on the create action.
image
image

Additionnel context

Metaproposal Add initiative creation in the authorization parameters

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions