Arafat Khan created HDDS-11436:
----------------------------------

             Summary: [Recon] /v1/triggerdbsync/om api is working with 
non-admin user even security is enabled
                 Key: HDDS-11436
                 URL: https://issues.apache.org/jira/browse/HDDS-11436
             Project: Apache Ozone
          Issue Type: Bug
          Components: Ozone Recon
            Reporter: Arafat Khan
             Fix For: 1.5.0


The *{{/v1/triggerdbsync/om}}* API is accessible by non-admin users as well.

I have enabled the following properties on the cluster:
 * {{"ozone.security.enabled": "true"}}
 * {{"ozone.security.http.kerberos.enabled": "true"}}
 * `"ozone.recon.administrators": user_principal

After restarting the cluster and testing with a non-admin user:

As expected, the non-admin user is unable to access the Recon UI or make other 
API calls, such as {{{}/api/v1/containers{}}}.

*Customer Use Case:*
 # If a non-admin user is denied even view-only access to the UI, the same user 
should also be restricted from making API calls.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to