Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Security] Implemented the Serializable interface in the Role class#4934

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
stof wants to merge1 commit intosymfony:masterfromstof:serializable_role

Conversation

@stof
Copy link
Member

This reopens a PR to discuss the changes as#4925 was merged by mistake and reverted.

@Koc
Copy link
Contributor

Koc commentedJul 15, 2012

Maybe you should add to doc information that developer should invalidate all users sessions.

@fabpot
Copy link
Member

This is a BC break for people extending theRole class and I'm not sure it is worth it:

Before:

1:{s:47:"\0Symfony\Component\Security\Core\Role\Role\0role";s:9:"ROLE_USER";}}

After:

16:{s:9:"ROLE_USER";}}

Length is 23 vs 79 for a role.

So, -1.

@fabpot
Copy link
Member

Closing it as it's not worth it to break BC for such a small benefit.

@fabpotfabpot closed thisSep 28, 2012
@stofstof deleted the serializable_role branchApril 8, 2014 22:48
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@stof@Koc@fabpot

[8]ページ先頭

©2009-2025 Movatter.jp