dave2wave commented on issue #696:
URL: 
https://github.com/apache/tooling-trusted-releases/issues/696#issuecomment-3947843609

   Implementation idea:
   1. Add a downgraded user cache to `atr/cache.py`
   2. Add / remove admins from that cache as they toggle admin in 
`atr/admin/__init__.py`
   3. Update the `is_admin` methods in `atr/user.py` to return False if the uid 
is present in the downgraded cache.
   
   It could make sense to add a cache for impersonation to `atr/cache.py` as 
well.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to