epics-base / pva2pva

PV Access gateway/proxy and EPICS Process Database integration
https://epics-base.github.io/pva2pva/
Other
4 stars 13 forks source link

asLib check against PeerInfo #29

Closed mdavidsaver closed 4 years ago

mdavidsaver commented 5 years ago

Check Put permissions against new PeerInfo API peer IP address and user or role/group names.

host and user are handled as with CA in HAG and UAG entires. role/group may appear as special UAG entries prefixed with "role/". eg.

UAG(special) { root, "role/admin", "role/wheel" }

Always compares against peer numeric IP address. Matching against host names in .acf file requires https://code.launchpad.net/~epics-core/epics-base/+git/asLib/+merge/358822

mdavidsaver commented 5 years ago

cf. https://github.com/epics-base/pvAccessCPP/pull/136

mdavidsaver commented 5 years ago

@bhill-slac FYI

bhill-slac commented 4 years ago

Looks good to me. Tested w/ IOC built using asLib epics-base pull request and pvAccess gwdev branch from mdavidsaver.

mdavidsaver commented 4 years ago

Thank you Bruce

On Tue, Aug 13, 2019, 10:34 PM Bruce Hill notifications@github.com wrote:

Looks good to me. Tested w/ IOC built using asLib epics-base pull request and pvAccess gwdev branch from mdavidsaver.

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/epics-base/pva2pva/pull/29?email_source=notifications&email_token=ABBZLH5BVB3NDD2SVO5MPCLQEOKOVA5CNFSM4HNRMLZ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4HXSLI#issuecomment-521107757, or mute the thread https://github.com/notifications/unsubscribe-auth/ABBZLHZ4TNST5DLXOIMF6FDQEOKOVANCNFSM4HNRMLZQ .