wizardofzos / pyracf

RACF parsing for the rest of us...
Apache License 2.0
7 stars 8 forks source link

.acl( ) method #15

Closed rob-vh closed 3 months ago

rob-vh commented 3 months ago

msys.datasetPermit('SYS1.**', pattern='G').acl(resolve=True) shows users with access to SYS1 profiles, whether by user or by group permit

msys.datasetAccess('SYS1.**').acl(sort="access") shows the normal permits on 1 profile, sorted by descending access (strongest first) as defined in the profile

msys.datasetAccess('SYS1.**').acl(permit=False, admin=True) shows user IDs with OWNER, group special or CONNECT/JOIN auth, to change access to the data sets

.acl supports datasetPermit, datasetAccess, datasetConditionalAccess generalPermit, generalAccess, generalConditionalAccess

No update to README.md yet

wizardofzos commented 3 months ago

I really love it Rob!!!!

misschien van de week een keertje een 'digitale meet' op zetten?

ziet er GOED uit voor een nieuwe release? :)

Warm regards,

Henri Kuiper Founder, Techie, Wizard

+31 6 392 1957 4zdevops.com LinkedIN https://linkedin.com/in/wizardofzos | Twitter https://twitter.com/henrikuiper| GitHub https://github.com/wizardofzos Book a meeting https://calendar.google.com/calendar/appointments/schedules/AcZssZ1e8rfLfg__JidU1748kFIq8n2Rzi0u0zkS8C1H_7I_nRJOcrFMOa1PWyNoVAZqhdxigNOC7XFQ

On Sun, Mar 17, 2024 at 1:36 PM rob-vh @.***> wrote:

msys.datasetPermit('SYS1.**', pattern='G').acl(resolve=True) shows users with access to SYS1 profiles, whether by user or by group permit

msys.datasetAccess('SYS1.**').acl(sort="access") shows the normal permits on 1 profile, sorted by descending access (strongest first) as defined in the profile

msys.datasetAccess('SYS1.**').acl(permit=False, admin=True) shows user IDs with OWNER, group special or CONNECT/JOIN auth, to change access to the data sets

.acl supports datasetPermit, datasetAccess, datasetConditionalAccess generalPermit, generalAccess, generalConditionalAccess

No update to README.md yet

You can view, comment on, or merge this pull request online at:

https://github.com/wizardofzos/pyracf/pull/15 Commit Summary

File Changes

(1 file https://github.com/wizardofzos/pyracf/pull/15/files)

Patch Links:

— Reply to this email directly, view it on GitHub https://github.com/wizardofzos/pyracf/pull/15, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA4W3YV2RMVOU763MOTZFTYYWE6FAVCNFSM6AAAAABE2FU5UKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGE4TANRUGY3DIOI . You are receiving this because you are subscribed to this thread.Message ID: @.***>