Skip to content

Disallow deleting Lokalize-key for non-admin-users#6

Open
emrekaraca wants to merge 1 commit into
agentejo:masterfrom
emrekaraca:modify_lokalize_acl
Open

Disallow deleting Lokalize-key for non-admin-users#6
emrekaraca wants to merge 1 commit into
agentejo:masterfrom
emrekaraca:modify_lokalize_acl

Conversation

@emrekaraca

Copy link
Copy Markdown

Currently, any lokalize-user can delete translation-keys from a Lokalize-project. Accidental deletion of translation-labels can have bad consequences. Therefore it would be nice to prevent this from happening.

This PR limits the delete-key-button to admin-users and users of groups with the keys_delete-right.

In addition, the rights-functionality was documented in the README.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant