Pydio CLI - update user right

Hi,

I’m trying to change user right via CLI : add rw permission to a test-user on a test-repository.
i found this command

sudo -u web php /var/www/html/cmd.php -u=admin -r=test-repo -a=edit --sub_action=update_user_right --user_id=test-user --right=rw

output

Applying action ‘edit’ on workspace test-repo (xxxxxxxxxxxxxxxxxxxxxxxxx)
: Could not find action edit

Some suggestion?

thx

Hi,
you should use this command sudo -u www-data php <your-pydio>/cmd.php -u=USER -p=PASSWORD -r=ajxp_conf -a=user_update_right --user_id='' --repository_id='<id>' --right='rw'

if you have access to the database cli you can use this command to find the repository_id=


FROM ajxp_repo

WHERE display='<the displayed name of the workspace>'

It work’s perfectly.

Thx

Michele