We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
I have a question. I managed to implement a authorization module for my router:
$authorizationManager = new \Thruway\Authentication\AuthorizationManager('testrealm');
$rule = new stdClass(); $rule->role = "teacher"; $rule->action = "register"; $rule->uri = "cnf.quiz.addstudent"; $rule->allow = true;
$authorizationManager->addAuthorizationRule([$rule]);
Whenever a new user is connecting and the realm doesn't exist, it creates it:
[Thruway\RealmManager 31922] Got prehello... [Thruway\RealmManager 31922] Creating new realm "01234" [Thruway\RealmManager 31922] Adding realm "01234"
But the authorization doesn't aply for this newly created realm. Is there a way to add the authorization to the newly auto created realm?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello,
I have a question. I managed to implement a authorization module for my router:
$authorizationManager = new \Thruway\Authentication\AuthorizationManager('testrealm');
$rule = new stdClass();
$rule->role = "teacher";
$rule->action = "register";
$rule->uri = "cnf.quiz.addstudent";
$rule->allow = true;
$authorizationManager->addAuthorizationRule([$rule]);
Whenever a new user is connecting and the realm doesn't exist, it creates it:
[Thruway\RealmManager 31922] Got prehello...
[Thruway\RealmManager 31922] Creating new realm "01234"
[Thruway\RealmManager 31922] Adding realm "01234"
But the authorization doesn't aply for this newly created realm. Is there a way to add the authorization to the newly auto created realm?
The text was updated successfully, but these errors were encountered: