Skip to content

Commit

Permalink
Merge pull request #1737 from homholueng/minor_V3.5.X_function_perm_t…
Browse files Browse the repository at this point in the history
…emplate_modify

minor: 修改职能化人员的权限模板
  • Loading branch information
pagezz-canway authored Feb 11, 2020
2 parents 787a8c0 + 592371b commit 9460bc0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions config/perms.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
from gcloud.tasktmpl3.permissions import task_template_resource
from gcloud.taskflow3.permissions import taskflow_resource
from gcloud.contrib.appmaker.permissions import mini_app_resource
from gcloud.contrib.function.permissions import function_center_resource
from gcloud.periodictask.permissions import periodic_task_resource

bk_iam_perm_templates = [
Expand Down Expand Up @@ -204,6 +205,7 @@
'resource': task_template_resource,
'actions': [
task_template_resource.actions.view,
task_template_resource.actions.create_task
]
},
{
Expand All @@ -214,6 +216,12 @@
taskflow_resource.actions.operate,
taskflow_resource.actions.claim,
]
},
{
'resource': function_center_resource,
'actions': [
function_center_resource.actions.view
]
}
]
}
Expand Down

0 comments on commit 9460bc0

Please sign in to comment.