N°993: restrict the access to the REST/JSON web services to users having the profile "REST Services User" (restore 2018-04-10 revisions : r5632..r5633)

SVN:trunk[5630]
This commit is contained in:
Pierre Goiffon
2018-04-12 08:53:02 +00:00
parent 42606873af
commit c562098ef7
4 changed files with 32 additions and 1 deletions

View File

@@ -42,6 +42,7 @@ class LoginWebPage extends NiceWebPage
const EXIT_CODE_WRONGCREDENTIALS = 3;
const EXIT_CODE_MUSTBEADMIN = 4;
const EXIT_CODE_PORTALUSERNOTAUTHORIZED = 5;
const EXIT_CODE_NOTAUTHORIZED = 6;
protected static $sHandlerClass = __class__;
public static function RegisterHandler($sClass)