@@ -284,7 +284,7 @@ func ListUsers(conditions *params.Conditions, orderBy string, reverse bool, limi
|
||||
|
||||
defer conn.Close()
|
||||
|
||||
pageControl := ldap.NewControlPaging(80)
|
||||
pageControl := ldap.NewControlPaging(1000)
|
||||
|
||||
users := make([]models.User, 0)
|
||||
|
||||
|
||||
@@ -905,7 +905,7 @@ var (
|
||||
Rules: []v1.PolicyRule{
|
||||
{
|
||||
Verbs: []string{"get", "list"},
|
||||
APIGroups: []string{"resources.kubesphere.io"},
|
||||
APIGroups: []string{"resources.kubesphere.io", "app.k8s.io"},
|
||||
Resources: []string{"applications"},
|
||||
}, {
|
||||
Verbs: []string{"get", "list"},
|
||||
@@ -927,7 +927,7 @@ var (
|
||||
Rules: []v1.PolicyRule{
|
||||
{
|
||||
Verbs: []string{"create", "update", "patch"},
|
||||
APIGroups: []string{"resources.kubesphere.io"},
|
||||
APIGroups: []string{"resources.kubesphere.io", "app.k8s.io"},
|
||||
Resources: []string{"applications"},
|
||||
}, {
|
||||
Verbs: []string{"create", "update", "patch"},
|
||||
@@ -940,7 +940,7 @@ var (
|
||||
Rules: []v1.PolicyRule{
|
||||
{
|
||||
Verbs: []string{"delete"},
|
||||
APIGroups: []string{"resources.kubesphere.io"},
|
||||
APIGroups: []string{"resources.kubesphere.io", "app.k8s.io"},
|
||||
Resources: []string{"applications"},
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user