fbd8348d0c
This is a change discussed long time back in https://github.com/apache/airflow/pull/3889#issuecomment-507635839 Essentially, the 7 permission-resource pairs are added for all users: - can_this_form_post on UserInfoEditView - can_this_form_get on UserInfoEditView - can_userinfo on UserDBModelView - userinfoedit on UserDBModelView - can_this_form_post on ResetMyPasswordView - can_this_form_get on ResetMyPasswordView - resetmypassword on UserDBModelView In addition, can_userinfo is added for all possible User ModelViews, so users can also view profile when the webserver is using different setting-ups. But they are ONLY allowed to edit profile and reset password when it's UserDBModelView |
||
---|---|---|
.. | ||
__init__.py | ||
kerberos.py | ||
permissions.py | ||
utils.py |