jhtimmins opened a new pull request #12915:
URL: https://github.com/apache/airflow/pull/12915


   Currently, the `._has_access()` method in `Security.py` checks whether the 
security manager object has `.perms` property, which is then checked for the 
presence of a specific permission. This causes an error when the `.perms` 
property is set to `None`, rather than an iterable.
   
   This fix makes sure that `.perms` isn't `None` before looking inside. 
Otherwise, the permissions are lookup up and saved to the `.perms` property.


----------------------------------------------------------------
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.

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


Reply via email to