forked from forgejo/forgejo
Team permission allow different unit has different permission (#17811)
* Team permission allow different unit has different permission * Finish the interface and the logic * Fix lint * Fix translation * align center for table cell content * Fix fixture * merge * Fix test * Add deprecated * Improve code * Add tooltip * Fix swagger * Fix newline * Fix tests * Fix tests * Fix test * Fix test * Max permission of external wiki and issues should be read * Move team units with limited max level below units table * Update label and column names * Some improvements * Fix lint * Some improvements * Fix template variables * Add permission docs * improve doc * Fix fixture * Fix bug * Fix some bug * fix * gofumpt * Integration test for migration (#18124) integrations: basic test for Gitea {dump,restore}-repo This is a first step for integration testing of DumpRepository and RestoreRepository. It: runs a Gitea server, dumps a repo via DumpRepository to the filesystem, restores the repo via RestoreRepository from the filesystem, dumps the restored repository to the filesystem, compares the first and second dump and expects them to be identical The verification is trivial and the goal is to add more tests for each topic of the dump. Signed-off-by: Loïc Dachary <loic@dachary.org> * Team permission allow different unit has different permission * Finish the interface and the logic * Fix lint * Fix translation * align center for table cell content * Fix fixture * merge * Fix test * Add deprecated * Improve code * Add tooltip * Fix swagger * Fix newline * Fix tests * Fix tests * Fix test * Fix test * Max permission of external wiki and issues should be read * Move team units with limited max level below units table * Update label and column names * Some improvements * Fix lint * Some improvements * Fix template variables * Add permission docs * improve doc * Fix fixture * Fix bug * Fix some bug * Fix bug Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: Aravinth Manivannan <realaravinth@batsense.net>
This commit is contained in:
parent
12ad6dd0e3
commit
8760af752a
27 changed files with 610 additions and 170 deletions
|
@ -1099,7 +1099,7 @@ commits.signed_by_untrusted_user_unmatched = Signed by untrusted user who does n
|
|||
commits.gpg_key_id = GPG Key ID
|
||||
commits.ssh_key_fingerprint = SSH Key Fingerprint
|
||||
|
||||
ext_issues = Ext. Issues
|
||||
ext_issues = Access to External Issues
|
||||
ext_issues.desc = Link to an external issue tracker.
|
||||
|
||||
projects = Projects
|
||||
|
@ -1579,7 +1579,7 @@ signing.wont_sign.commitssigned = The merge will not be signed as all the associ
|
|||
signing.wont_sign.approved = The merge will not be signed as the PR is not approved
|
||||
signing.wont_sign.not_signed_in = You are not signed in
|
||||
|
||||
ext_wiki = Ext. Wiki
|
||||
ext_wiki = Access to External Wiki
|
||||
ext_wiki.desc = Link to an external wiki.
|
||||
|
||||
wiki = Wiki
|
||||
|
@ -2261,9 +2261,13 @@ teams.leave = Leave
|
|||
teams.leave.detail = Leave %s?
|
||||
teams.can_create_org_repo = Create repositories
|
||||
teams.can_create_org_repo_helper = Members can create new repositories in organization. Creator will get administrator access to the new repository.
|
||||
teams.read_access = Read Access
|
||||
teams.none_access = No Access
|
||||
teams.none_access_helper = Members cannot view or do any other action on this unit.
|
||||
teams.general_access = General Access
|
||||
teams.general_access_helper = Members permissions will be decided by below permission table.
|
||||
teams.read_access = Read
|
||||
teams.read_access_helper = Members can view and clone team repositories.
|
||||
teams.write_access = Write Access
|
||||
teams.write_access = Write
|
||||
teams.write_access_helper = Members can read and push to team repositories.
|
||||
teams.admin_access = Administrator Access
|
||||
teams.admin_access_helper = Members can pull and push to team repositories and add collaborators to them.
|
||||
|
@ -2892,5 +2896,6 @@ error.probable_bad_signature = "WARNING! Although there is a key with this ID in
|
|||
error.probable_bad_default_signature = "WARNING! Although the default key has this ID it does not verify this commit! This commit is SUSPICIOUS."
|
||||
|
||||
[units]
|
||||
unit = Unit
|
||||
error.no_unit_allowed_repo = You are not allowed to access any section of this repository.
|
||||
error.unit_not_allowed = You are not allowed to access this repository section.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue