feat: add integration access settings (#725)

* feat: add integration access settings

* fix: typecheck and test issues

* fix: test timeout

* chore: address pull request feedback

* chore: add throw if action forbidden for integration permissions

* fix: unable to create new migrations because of duplicate prevId in sqlite snapshots

* chore: add sqlite migration for integration permissions

* test: add unit tests for integration access

* test: add permission checks to integration router tests

* test: add unit test for integration permissions

* chore: add mysql migration

* fix: format issues
This commit is contained in:
Meier Lukas
2024-07-08 00:00:37 +02:00
committed by GitHub
parent be711149f7
commit 408cdeb5c3
50 changed files with 4392 additions and 615 deletions

View File

@@ -165,7 +165,7 @@ export default {
label: "Modify all boards",
description: "Allow members to modify all boards (Does not include access control and danger zone)",
},
"full-access": {
"full-all": {
label: "Full board access",
description:
"Allow members to view, modify, and delete all boards (Including access control and danger zone)",
@@ -187,7 +187,7 @@ export default {
label: "Interact with any integration",
description: "Allow members to interact with any integration",
},
"full-access": {
"full-all": {
label: "Full integration access",
description: "Allow members to manage, use and interact with any integration",
},
@@ -484,6 +484,11 @@ export default {
},
},
},
permission: {
use: "Select integrations in items",
interact: "Interact with integrations",
full: "Full integration access",
},
},
common: {
rtl: "{value}{symbol}",
@@ -1156,36 +1161,14 @@ export default {
access: {
title: "Access control",
permission: {
userSelect: {
title: "Add user permission",
},
groupSelect: {
title: "Add group permission",
},
tab: {
user: "Users",
group: "Groups",
inherited: "Inherited groups",
},
field: {
user: {
label: "User",
},
group: {
label: "Group",
},
permission: {
label: "Permission",
},
},
item: {
"board-view": {
view: {
label: "View board",
},
"board-change": {
label: "Change board",
modify: {
label: "Modify board",
},
"board-full": {
full: {
label: "Full access",
},
},
@@ -1605,6 +1588,35 @@ export default {
},
},
},
permission: {
title: "Permissions",
userSelect: {
title: "Add user permission",
},
groupSelect: {
title: "Add group permission",
},
tab: {
user: "Users",
group: "Groups",
inherited: "Inherited groups",
},
field: {
user: {
label: "User",
},
group: {
label: "Group",
},
permission: {
label: "Permission",
},
},
action: {
saveUser: "Save user permission",
saveGroup: "Save group permission",
},
},
navigationStructure: {
manage: {
label: "Manage",