Print

Print


With this, the admin can set a new `macaroons.onmissing` configuration flag to allow the authorization plugin to always allow in the case when no macaroon exists.

This is useful for EOS as EOS does not utilize the XRootD authorization system and will apply its own authorizations downstream of this plugin.

Additionally, this fixes a memory leak of the macaroon object that occurs on successful validation.
You can view, comment on, or merge this pull request online at:

  https://github.com/xrootd/xrootd/pull/942

-- Commit Summary --

  * Allow admin to customize default macaroons authz.

-- File Changes --

    M src/XrdMacaroons/XrdMacaroonsAuthz.cc (59)
    M src/XrdMacaroons/XrdMacaroonsAuthz.hh (6)
    M src/XrdMacaroons/XrdMacaroonsConfigure.cc (27)
    M src/XrdMacaroons/XrdMacaroonsHandler.hh (12)

-- Patch Links --

https://github.com/xrootd/xrootd/pull/942.patch
https://github.com/xrootd/xrootd/pull/942.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/pull/942

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1