Skip to content

weblate-permissions: Enforce mode (sysadmin#17338)

hefee requested to merge hefee/puppet-tails:hefee/weblate_permission into master

Enables the enforce mode for Weblate permissions. I added a documentation for the yaml file in the script. the current script does not enforce by default. The default is check mode and you need to define --enforce mode to make the script to do change anything. I think it is more safe to have check by default and enforce explicitly.

I did several manual tests against the production instance: *.maintenance file available - need enforceMaintenance mode

  • change group.project_selection
  • change user.is_active
  • change user.is_superuser
  • changes user.groups (add/delete groups)
  • create, change and delete roles
  • create, and delete group
  • change group.codes
  • change group.roles

Merge request reports

Loading