swalkowski opened a new pull request, #29061:
URL: https://github.com/apache/airflow/pull/29061

   To better open Airflow RBAC to external integrations (see below), this 
change increases the maximum lengths of user identifies columns in `ab_user` 
and `ab_register_user` tables:
   - `first_name` and `last_name` from 64 to 256 characters.
   - `email` and `username` from 256 to 512 characters.
    
   While Airflow RBAC model is represented in the fixed set of Flask App 
Builder `ab_*` tables, it can be integrated with a variety of authentication 
mechanisms. They may operate on various forms of user identifiers that can be 
of various lengths. For example:
   - Display names like first and last name may not always be available, and 
some integrations may opt for defaulting those columns to the other 
identifiers, like username or email, which can be longer.
   - Identity federation is a scenario in which user identifiers can be 
particularly long, like this one from Google Cloud workload identity 
federation: 
`principal://iam.googleapis.com/projects/PROJECT_NUMBER/locations/global/workloadIdentityPools/POOL_ID/subject/SUBJECT_ATTRIBUTE_VALUE`.
   
   


-- 
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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to