Changed in version 3.0: Before Weblate 3.0, the privileges system was based on Django, but now it is built specifically for Weblate. If you are using older version, please consult documentation for that version, information here will not apply.
Weblate comes with a fine grained privileges system to assign users permissions globally or in limited scope.
The permission system is groups and roles based, where roles define set of permissions and groups assign them to users and translations, see Users, roles, groups and permissions for more details.
Just after installation default set of groups is created and you can use those to assign users global roles (see Default groups and roles). Additionally when Per project access control is enabled, you can assign users to specific translation projects. More fine grained configuration can be achieved using Custom access control
Most usual setups¶
Locking down Weblate¶
Site wide permissions¶
To manage site wide permissions, just add users to the Users (this is done by default using Automatic group assignments), Reviewers and Managers groups. Keep all projects configured as Public (see Per project access control).
Per project permissions¶
Configure your projects to Protected or Private and manage users per project in the Weblate interface.
Adding permissions to languages, projects or component sets¶
You can additionally grant permissions to some user based on project, language or a component set. To achieve this, create new group (eg. Czech translators) and configure it for given object. Any assigned permissions will be granted to members of that group on selected objects.
This will work just fine without additional setup if using per project permissions, for site wide permissions, you will probably also want to remove these permissions from the Users group or change automatic assignment of all users to that group (see Automatic group assignments).
Per project access control¶
By enabling ACL, all users are prohibited from accessing anything within a given project unless you add the permissions for them to do that.
You can limit user’s access to individual projects. This feature is enabled by Access control at Project configuration. This automatically creates several groups for this project, see Predefined groups.
There are following choices for Access control:
- Publicly visible and translatable
- Publicly visible but translatable only for selected users
- Visible and translatable only for selected users
- Weblate does not manage users, see Custom access control.
To allow access to this project, you have to add the privilege to do so either directly to the given user or group of users in Django admin interface, or by using user management on the project page as described in Managing per project access control.
Even with ACL enabled some summary information will be available about your project:
- Site wide statistics includes counts for all projects
- Site wide languages summary includes counts for all projects
Automatic group assignments¶
You can configure Weblate to automatically add users to groups based on their email. This automatic assignment happens only at the time of account creation.
This can be configured in the Django admin interface (in the Accounts section).
The automatic group assignment for the Users and Viewers groups will
be always created by Weblate on migrations, in case you want to disable
it, simply set the regular expression to
^$, what will never match.
Users, roles, groups and permissions¶
The authentication models consist of several objects:
- Individual permissions defined by Weblate. You can not assign individual permissions, this can be done only through roles.
- Role defines set of a permissions. This allows to reuse these sets in several places and makes the administration easier.
- Users can be members of several groups.
- Groups connect roles, users and authentication objects (projects, languages and component lists).
Whenever permission is checked to be able to perform given action, the check is performed based on scope, following checks are performed:
Compared against scope project, if not set, this matches none project.
You can use Project selection to automate including all projects.
- Component list
Scope component is matched against this list, if not set this is ignored.
Obviously this has no effect when checking access on the project scope, so you will have to grant access to view all projects in a component list by other means. By default this is achieved by the Viewers group, see Default groups and roles).
Compared against scope translation, if not set, this matches none language.
You can use Language selection to automate including all languages.
Managing users and groups¶
All users and groups can be managed using Django admin interface, which is
Managing per project access control¶
This feature only works for ACL controlled projects, see Per project access control.
Users with Can manage ACL rules for a project privilege (see Access control) can also manage users in projects with access control enabled on the project page. You can add or remove users to the project or make them owners.
The user management is available in Tools menu of a project:
Weblate comes with predefined set of groups for a project where you can assign users.
Has all permissions on the project.
Can manage glossary (add or remove entries or upload glossary).
Can manage translated languages - add or remove translations.
Can manage screenshots - add or remove them and associate them to source strings.
Can edit translation template in Monolingual components and source string information.
Can translate project, including upload of offline translatoins.
Can manage VCS and access exported repository.
Can approve translations during review.
Can access billing information (see Billing).
Custom access control¶
By choosing Custom as Access control, Weblate will stop
managing access for given project and you can setup custom rules in Django
admin interface. This can be used for definining more complex access control or
having shared access policy for all projects in single Weblate instance. If you
want to enable this for all projects by default please enable the
By enabling this, Weblate will remove all Per project access control it has created for this project. If you are doing this without global admin permission, you will instantly loose access to manage the project.
Default groups and roles¶
List of privileges¶
- Billing (see Billing)
- View billing information [Administration, Billing]
- Download changes [Administration]
- Post comment [Administration, Edit source, Power user, Review strings, Translate] Delete comment [Administration]
- Edit component settings [Administration] Lock component from translating [Administration]
- Add glossary entry [Administration, Manage glossary, Power user] Edit glossary entry [Administration, Manage glossary, Power user] Delete glossary entry [Administration, Manage glossary, Power user] Upload glossary entries [Administration, Manage glossary, Power user]
- Use machine translation services [Administration, Power user]
- Edit project settings [Administration] Manage project access [Administration]
- Download reports [Administration]
- Add screenshot [Administration, Manage screenshots] Edit screenshot [Administration, Manage screenshots] Delete screenshot [Administration, Manage screenshots]
- Source strings
- Edit info on source strings [Administration, Edit source]
- Add new string [Administration] Ignore failing check [Administration, Edit source, Power user, Review strings, Translate] Edit strings [Administration, Edit source, Power user, Review strings, Translate] Review strings [Administration, Review strings] Edit string when suggestions are enforced [Administration, Review strings] Edit source strings [Administration, Edit source, Power user]
- Accept suggestion [Administration, Edit source, Power user, Review strings, Translate] Add suggestion [Add suggestion, Administration, Edit source, Power user, Review strings, Translate] Delete suggestion [Administration] Vote suggestion [Administration, Edit source, Power user, Review strings, Translate]
- Start new translation [Administration, Manage languages, Power user] Perform automatic translation [Administration, Manage languages] Delete existing translation [Administration, Manage languages] Start new translation into more languages [Administration, Manage languages]
- Define author of translation upload [Administration] Overwrite existing strings with upload [Administration, Edit source, Power user, Review strings, Translate] Upload translation strings [Administration, Edit source, Power user, Review strings, Translate]
- Access the internal repository [Access repository, Administration, Manage repository, Power user] Commit changes to the internal repository [Administration, Manage repository] Push change from the internal repository [Administration, Manage repository] Reset changes in the internal repository [Administration, Manage repository] View upstream repository location [Access repository, Administration, Manage repository, Power user] Update the internal repository [Administration, Manage repository]
List of groups¶
The following groups are created on installation (or after executing
Defines permissions for not authenticated users.
This group contains only anonymous user (see
You can remove roles from this group to limit permissions for not authenticated users.
Default roles: Add suggestion, Access repository
This role ensures visibility of public projects for all users. By default all users are members of this group.
By default all users are members of this group using Automatic group assignments.
Default roles: none
Default group for all users.
By default all users are members of this group using Automatic group assignments.
Default roles: Power user
Group for reviewers (see Translation workflows).
Default roles: Review strings
Group for administrators.
Default roles: Administration
Never remove Weblate predefined groups and users, this can lead to unexpected problems. If you do not want to use these features, just remove all privileges from them.