You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SimpleCredsAuth is a bit inflexible and only supports checking of a single uid or gid. Access is allowed if user has either uid or gid as effective uid/gid. It would be rather simple to expand SimpleCredsAuth to support multiple uids and gids easily and have additional flag to switch from OR to AND. Access rule would be:
cred_euid in uids or cred_egid in gids
or
cred_euid in uids and cred_egid in gids
Perhaps a ExtendedCredsAuth class?
The text was updated successfully, but these errors were encountered:
I think just listing multiple ids is fine.
If both cred_quid and cred_egid are set then at least one of the uids and at least one of the gids must match, no need for complex and/or flags.
SimpleCredsAuth is a bit inflexible and only supports checking of a single uid or gid. Access is allowed if user has either uid or gid as effective uid/gid. It would be rather simple to expand SimpleCredsAuth to support multiple uids and gids easily and have additional flag to switch from OR to AND. Access rule would be:
or
Perhaps a
ExtendedCredsAuth
class?The text was updated successfully, but these errors were encountered: