Add permissions to the service description

This commit is contained in:
Dmitrii Metelkin 2016-08-18 18:13:24 +10:00
parent 99d080f1cd
commit 52698e1d30

View file

@ -28,7 +28,8 @@ $functions = array(
'methodname' => 'request_login_url',
'classpath' => 'auth/userkey/externallib.php',
'description' => 'Return one time key based login URL',
'type' => 'read',
'type' => 'write',
'capabilities' => 'auth/userkey:generatekey',
)
);