Replies: 5 comments
-
Yes, I agree the current We should also re-craft these classes with
In other words, when re-crafting |
Beta Was this translation helpful? Give feedback.
-
Interesting discussion. Sorry I missed the weekly call where this was discussed - I just came back from vacation. So it seems to me that there are 2 general use cases related to authorization - granting permissions and using the permissions. The former is currently the focus of Regarding the @jp-harvey It may help the discussion to outline some scenarios where the current approach is too condensed, and let's discuss that. By the way, I think that the class name |
Beta Was this translation helpful? Give feedback.
-
Summary of where we landed on after discussion. Enumeration of events that we want to model:
And they will fit into these classes: User Access Management
Group Access Management
These classes will model permission management actions, and are different from runtime access authorization. We will therefore leave the current Authorization class as is, because the event it captures is the latter type - privileges assigned to a user on logging into a machine. Access Activity also falls into the category of access authorization at runtime (or request time). We will also not create an object or classes for Role, until we see the need for it. I'll put these in a discussion and close out PR #531. |
Beta Was this translation helpful? Give feedback.
-
New classes are now part of RC3. |
Beta Was this translation helpful? Give feedback.
-
Recently there has been an effort to refactor the
Authorization
class to reduce duplication and redundancy, and make it more applicable to real-world scenarios - see #531.After seeing the improvements made and following impromptu additional analysis in the System Activity weekly call, it was suggested that the current approach of having a single
Authorization
class may be too condensed for many scenarios.Primarily it was raised that the class conflates two different activities - assigning permissions to a principal and changing group membership of a principal, which ultimately mean direct or indirect permissions being assigned to a principal. In addition,
Authorization
could also be interpreted as theuse of credentials
rather than a change in credential assignment, and that searches in the current format may become complicated.The other consideration is that
Authorization
is very generic and can be interpreted as a class that is concerned with whether or not authorization was granted (which is covered byAccess Activity
It's suggested that the existing class be split instead of condensed, something along the lines of two new classes:
Entity Permission Management
Entity Membership Management
Some thought needs to be given about how
roles
would fit in here as well.@odianosen eager to get your thoughts on this one.
(it was also noted that there are some fields that should probably be changed to make the class more generic, which could be applied with a profile. eg. dst_endpoint)
Beta Was this translation helpful? Give feedback.
All reactions