-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Don't allow the user to set fields they can't see #5223
Conversation
Signed-off-by: Joas Schilling <coding@schilljs.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me
the same issue exists in settings/Controller/UserController |
Signed-off-by: Joas Schilling <coding@schilljs.com>
Codecov Report
@@ Coverage Diff @@
## master #5223 +/- ##
=============================================
- Coverage 54.15% 31.27% -22.88%
- Complexity 22292 22305 +13
=============================================
Files 1379 1380 +1
Lines 85359 84813 -546
Branches 1321 1321
=============================================
- Hits 46223 26526 -19697
- Misses 39136 58287 +19151
|
Done @blizzz |
@nickvergessen thx, works! |
@nickvergessen seems like you need to adjust some tests... |
Ping |
Yeah morris, sorry there was a long weekend in german, will fix now. |
Signed-off-by: Joas Schilling <coding@schilljs.com>
Failing tests (autoloader) fixed in another PR already. |
Let me backport this. |
Hey everyone! Also, it now prevent admin to edit those fields if they're the current user, I think we should always let the admin edit those fields then. Thoughts? cc @rullzer |
Yeah well, this is one of the stories with a long history even on OC already.
fine by me |
Signed-off-by: Joas Schilling coding@schilljs.com