Skip to content

Commit

Permalink
fix: 修正初始化内置权限属性值
Browse files Browse the repository at this point in the history
  • Loading branch information
towerhe committed Dec 31, 2023
1 parent c9be3c5 commit 4474be6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions object/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -397,14 +397,14 @@ func initBuiltInPermission() {
CreatedTime: util.GetCurrentTime(),
DisplayName: "内置权限",
Description: "内置权限",
Users: []string{"built-in/*"},
Groups: []string{},
Roles: []string{},
Domains: []string{},
Model: "model-built-in",
Users: []string{"*"},
Groups: []string{"*"},
Roles: []string{"*"},
Domains: []string{"*"},
Model: "user-model-built-in",
Adapter: "",
ResourceType: "Application",
Resources: []string{"app-built-in"},
Resources: []string{"*"},
Actions: []string{"Read", "Write", "Admin"},
Effect: "Allow",
IsEnabled: true,
Expand Down

0 comments on commit 4474be6

Please sign in to comment.