ResolvedSecurity represents the resolved security rules for a given claims against a specific resource.
| 155 | |
| 156 | // ResolvedSecurity represents the resolved security rules for a given claims against a specific resource. |
| 157 | type ResolvedSecurity struct { |
| 158 | access *bool |
| 159 | fieldAccess map[string]bool |
| 160 | rowFilter string |
| 161 | queryFilter *runtimev1.Expression |
| 162 | } |
| 163 | |
| 164 | // CanAccess returns whether the resource can be accessed. |
| 165 | func (r *ResolvedSecurity) CanAccess() bool { |
nothing calls this directly
no outgoing calls
no test coverage detected