sbp opened a new issue, #872: URL: https://github.com/apache/tooling-trusted-releases/issues/872
We should have `User` objects in the ATR database (we'll need them for user options, tracked by #631, anyway), and when a user logs in we can store their permissions in the object that we receive from ASFQuart. If we need further information that ASFQuart does not provide, we can also do an LDAP query for that and store it in the object. Simultaneously, we should have a task subscribed to pubsub listening to all LDAP events. When an LDAP event is received that affects the permissions of a `User` in the ATR database, we should update the object and perhaps take some action. For example, if a user is banned then we should revoke all tokens and access. This means that we can always use our own database to make authorisation decisions, and those decisions will be up-to-date minus the small amount of lag in the pubsub system and ATR parsing thereof. This will affect many other issues, for example #731. This issue is a successor to #736. -- 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]
