OSDir


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Airflow variables and data profiling hidden


You could also try creating a new admin user from the CLI.

https://airflow.readthedocs.io/en/stable/cli.html#create_user

*Taylor Edmiston*
Blog <https://blog.tedmiston.com/> | CV
<https://stackoverflow.com/cv/taylor> | LinkedIn
<https://www.linkedin.com/in/tedmiston/> | AngelList
<https://angel.co/taylor> | Stack Overflow
<https://stackoverflow.com/users/149428/taylor-edmiston>



On Wed, Aug 29, 2018 at 4:51 AM Ash Berlin-Taylor <ash@xxxxxxxxxx> wrote:

> Your users are not set up as as Admin users. The mechanism for fixing this
> depends upon what auth backend you are using.
>
> Look in your airflow.cfg under the [core] section for the auth_backend
> settings, that will (likely) map into one of these classes
> https://github.com/apache/incubator-airflow/tree/master/airflow/contrib/auth/backends
> <
> https://github.com/apache/incubator-airflow/tree/master/airflow/contrib/auth/backends
> >
>
> For example if you are using the LDAP backend then look at the [ldap]
> superuser_filter setting, which will map LDAP group membership into Airflow
> admins.
>
> Hope this helps.
>
> Ash
>
> > On 29 Aug 2018, at 07:15, Shubham Gupta <shubham180695.sg@xxxxxxxxx>
> wrote:
> >
> > Hi,
> >
> > Airflow variables and data profiling tabs are hidden in the UI. Can
> someone
> > suggest how to unhide them? If I try to access through
> '/admin/variable/',
> > the result is
> >
> >> 'You don't have the permission to access the requested resource. It is
> >> either read-protected or not readable by the server.'
> >
> >
> > The people who set airflow cluster initially are no longer in the same
> > company.
> >
> > Regards
> > Shubham Gupta
>
>