Add missing lifecycle and cors actions to Full control template

This commit is contained in:
2026-01-22 11:12:23 +08:00
parent 71327bcbf1
commit 7a8acfb933

View File

@@ -16,7 +16,7 @@ window.IAMManagement = (function() {
var currentDeleteKey = null; var currentDeleteKey = null;
var policyTemplates = { var policyTemplates = {
full: [{ bucket: '*', actions: ['list', 'read', 'write', 'delete', 'share', 'policy', 'replication', 'iam:list_users', 'iam:*'] }], full: [{ bucket: '*', actions: ['list', 'read', 'write', 'delete', 'share', 'policy', 'replication', 'lifecycle', 'cors', 'iam:*'] }],
readonly: [{ bucket: '*', actions: ['list', 'read'] }], readonly: [{ bucket: '*', actions: ['list', 'read'] }],
writer: [{ bucket: '*', actions: ['list', 'read', 'write'] }] writer: [{ bucket: '*', actions: ['list', 'read', 'write'] }]
}; };