diff --git a/info.textgrid.middleware.tgauth.rbac/rbacSoap/examples/tgCrudCheckAccess.php b/info.textgrid.middleware.tgauth.rbac/rbacSoap/examples/tgCrudCheckAccess.php index 629c589fd815f1bc19ce65df8c884b1fbed83c48..d3c650dd20741628fc4c9a555c80159e44f6b6da 100755 --- a/info.textgrid.middleware.tgauth.rbac/rbacSoap/examples/tgCrudCheckAccess.php +++ b/info.textgrid.middleware.tgauth.rbac/rbacSoap/examples/tgCrudCheckAccess.php @@ -30,9 +30,8 @@ if( isset( $_POST['auth'] ) ) { // ----------------------------------------------------- $regReq = new tgCrudCheckAccessRequest(); $regReq->auth = $_POST['auth']; - $regReq->secret = "29hsudhf892en11syodw34fh0d"; + $regReq->secret = $_POST['secret']; $reqReq->log = ""; -// $regReq->sid = $_POST['sid']; $regReq->resource = $_POST['resource']; $regReq->operation = $_POST['operation']; @@ -75,6 +74,7 @@ echo "<FORM action=\"tgCrudCheckAccess.php\" method=\"post\" enctype=\"multipart echo "Auth: <INPUT type=\"text\" name=\"auth\" value=\"\"><BR>\n"; echo "Operation: <INPUT type=\"text\" name=\"operation\" value=\"\"><BR>\n"; echo "Resource: <INPUT type=\"text\" name=\"resource\" value=\"\"><BR>\n"; +echo "CRUD secret: <INPUT type=\"text\" name=\"secret\" value=\"\"><BR>\n"; echo "<INPUT type=\"submit\" value=\"Commit...\">\n"; echo "</FORM>\n";