Skip to content

[Enhancement]: Add a "block edition" option for modules #7297

Description

@ufoloko

Is there an existing issue for this?

  • I have searched the existing issues

Description of problem

Sometimes, when some people works as admin in a site, can make some unwanted changes for a module, or even the creator of the module can make changes by mistake. So should be great to have some option to block changes for a module.

Description of solution

Should be great to have an option to "block changes" for a module. When this option is enabled, options like deletion, move, or edition can be disabled.

This is helpfull for example when you have a module used in some pages or all pages and you want to avoid unwanted changes even of your self. For example a footer html module that needs to keep untouched. If somebody needs to change, you need to disable that option, then you anybody can make changes.

Description of alternatives considered

I thing module permissions can be used to avoid this for other users, but sometimes you want to protect module changes of yourself, so this kind of functionallity can be very usefull.

Anything else?

No response

Do you plan to contribute code for this enhancement?

  • Yes

Would you be interested in sponsoring this enhancement?

  • Yes

Code of Conduct

  • I agree to follow this project's Code of Conduct

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