PolicyValidate API request using policy statements
(action, path string, auth Authorization)
| 538 | |
| 539 | //PolicyValidate API request using policy statements |
| 540 | func (manager *Manager) PolicyValidate(action, path string, auth Authorization) (*Policy, *Role) { |
| 541 | return PolicyValidate(action, path, auth, manager.policies) |
| 542 | } |
| 543 | |
| 544 | //GetAttachmentPolicies returns policies that will validate relations (attachments) |
| 545 | func (manager *Manager) GetAttachmentPolicies(path string, auth Authorization) []*Policy { |
no test coverage detected