Within Bitbucket-Server you can set the permissions for Projects and Repositories. The permissions are stored within the Bitbucket-Database.
The permissions within the database-tables do have IDs, which are associated to weights (see database-table <sta_permission_type>) .
What do the permission ID/weights mean exacrly? I haven't found any info about this ...
Background: I want to export some repositories with their permissions using own scripts. Therefore I need to know what the permission ids/weights mean.