simplify the authorization.
This commit is contained in:
parent
53e09d243c
commit
94997f3d83
|
@ -118,7 +118,7 @@ api_role = *
|
|||
/api/version = anon
|
||||
{% if not cdh_zeppelin_secure_urls %}
|
||||
/** = anon
|
||||
{% else %}
|
||||
{% elseif cdh_zeppelin_ldap_advanced_config %}
|
||||
/api/interpreter/setting/restart/** = authc
|
||||
{% if cdh_zeppelin_local_api_user %}
|
||||
/api/interpreter/** = {{ cdh_zeppelin_secure_interpreter_api_roles }}
|
||||
|
@ -128,4 +128,6 @@ api_role = *
|
|||
/api/configurations/** = {{ cdh_zeppelin_secure_roles }}
|
||||
/api/credential/** = {{ cdh_zeppelin_secure_roles }}
|
||||
/** = authc
|
||||
{% else %}
|
||||
/** = authc
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in New Issue