(ptype string, p1 []string, p2 []string)
| 292 | } |
| 293 | |
| 294 | func (e *Enforcer) UpdateNamedPolicy(ptype string, p1 []string, p2 []string) (bool, error) { |
| 295 | return e.updatePolicy("p", ptype, p1, p2) |
| 296 | } |
| 297 | |
| 298 | // UpdatePolicies updates authorization rules from the current policies. |
| 299 | func (e *Enforcer) UpdatePolicies(oldPolices [][]string, newPolicies [][]string) (bool, error) { |
no test coverage detected