Skip to content

Commit

Permalink
feat(pixiu): add pagination
Browse files Browse the repository at this point in the history
  • Loading branch information
jihu committed Jan 16, 2025
1 parent 842649e commit d7d8042
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/db/model/rbac.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ func (p GroupBinding) GetGroupName() string {
// AdminPolicy is the specific policy for admin/root user.
var AdminPolicy = NewGroupPolicy(AdminGroup, ObjectAll, SidAll, OpAll)

// IsAdminPolicy returns true if the policy is the ad min policy.
// IsAdminPolicy returns true if the policy is the admin policy.
func IsAdminPolicy(policy Policy) bool {
switch p := policy.(type) {
case GroupPolicy:
Expand Down

0 comments on commit d7d8042

Please sign in to comment.