Are you using CloudfIare, mod_security, or similar? (Yes / No)
No
Summary of the issue you are facing:
I would like hand Nextcloud Admin rights to a third person. Therefore he ask for access to OCC.
How could I give him access to the possibilities that came with occ without have to give him access to the docker host?
(and if possible avoid give him access to other commands than occ commands)
In earlier version there was an app called OCC Web but it seams deprecated.
if docker supports ssh use an ssh command-only key for that user.
(I do not user docker but with a real installation i’d use that method.)
Here’ an example fron one of my borg-servers in ~./.ssh/authorized_keys: