mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-07 06:02:04 +00:00
only update wrong grants
This commit is contained in:
@@ -601,6 +601,12 @@ func NewCond(name string, value interface{}) Condition {
|
||||
}
|
||||
}
|
||||
|
||||
func NewUnequalCond(name string, value any) Condition {
|
||||
return func(param string) (string, []any) {
|
||||
return name + " <> " + param, []any{value}
|
||||
}
|
||||
}
|
||||
|
||||
func NewNamespacedCondition(name string, value interface{}) NamespacedCondition {
|
||||
return func(namespace string) Condition {
|
||||
return NewCond(namespace+"."+name, value)
|
||||
|
||||
Reference in New Issue
Block a user