« lib/IO/K8s/Api/Authorization/V1/SelfSubjectAccessReviewSpec.pm
↑ Summary
lib/IO/K8s/Api/Authorization/V1/SelfSubjectRulesReviewSpec.pm »
| 1 | package IO::K8s::Api::Authorization::V1::SelfSubjectRulesReview; | ||
| 2 | # ABSTRACT: SelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace. The returned list of actions may be incomplete depending on the server's authorization mode, and any errors experienced during the evaluation. SelfSubjectRulesReview should be used by UIs to show/hide actions, or to quickly let an end user reason about their permissions. It should NOT Be used by external systems to drive authorization decisions as this raises confused deputy, cache lifetime/revocation, and correctness concerns. SubjectAccessReview, and LocalAccessReview are the correct way to defer authorization decisions to the API server. | ||
| 3 | 3 | our $VERSION = '1.112'; | |
| 4 | 3 | ▶ | use IO::K8s::APIObject; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | |||
| 7 | 3 | k8s spec => 'Authorization::V1::SelfSubjectRulesReviewSpec', 'required'; | |
| 8 | |||
| 9 | |||
| 10 | 3 | k8s status => 'Authorization::V1::SubjectRulesReviewStatus'; | |
| 11 | |||
| 12 | 3 | 1; | |
| 13 | |||
| 14 | __END__ | ||