8000 Adding a new RefreshableRolesTokenInterface to refresh security roles by weaverryan · Pull Request #24331 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

Adding a new RefreshableRolesTokenInterface to refresh security roles #24331

New issue

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

Closed
wants to merge 3 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
8000
Diff view
Diff view
Prev Previous commit
Next Next commit
fabbot
  • Loading branch information
weaverryan committed Sep 26, 2017
commit bd72d8f71d5c2c2e29e2de82da093c2ce59bec8a
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ public function setAttribute($name, $value)
*/
public function updateRoles(array $roles)
{
$this->roles = [];
$this->roles = array();

foreach ($roles as $role) {
if (is_string($role)) {
Expand Down
0