anshuwap / mollify

Automatically exported from code.google.com/p/mollify
0 stars 0 forks source link

User permissions changes are not applied until relogin #305

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. When I set permission to a user No Rights , the user can only see his root 
files and no folders, I can create them, but can't see them.
2. When I set permission to a user Read Only, it doesn't make any difference as 
"read and write" permission

What version of the product are you using? On what operating system?
1.8.4.1

Original issue reported on code.google.com by armin.ar...@gmail.com on 17 Oct 2011 at 4:15

GoogleCodeExporter commented 9 years ago
I just tested the permissions, and couldn't see any problems so I need a bit 
more information:
- what is the default permission of the user you are talking about?
- you are changing permission for a folder or file?

Please explain the scenario in details.

And you do have the same published folder assigned to both, user and admin? ie. 
when you go to admin tool, select Published Folders, there is only one folder, 
and when you select it, you see both the user and admin. It is very important 
that you don't publish the same folder more than once, otherwise the 
permissions admin sets won't be visible to other users.

Original comment by samuli.j...@gmail.com on 17 Oct 2011 at 6:53

GoogleCodeExporter commented 9 years ago
I ment "user permission" instead "folder permission"

So, when I enter admin panel, and go to "Users" tab, and select a user, then 
click on "edit user", if I change Permission from his default "Read and Write" 
to "No Rights": 
When the user logs in, he cant see any folder, but files.
And if he try to create a folder, he can create them, but can't see them.
And if he try to upload files, he can do it to, but only on his home folder.

And if I change his permition to "Read Only":
It makes no difference between "Read and Write" and "Read Only"

Original comment by armin.ar...@gmail.com on 17 Oct 2011 at 9:50

GoogleCodeExporter commented 9 years ago
Changing user permission requires user log out and then log in again to effect.

This is something I have to fix in future, but I guess this is not something 
that is changed often, so I don't think it's critical.

Original comment by samuli.j...@gmail.com on 18 Oct 2011 at 5:17

GoogleCodeExporter commented 9 years ago
Just to be clear,

On "read only" permission, the user can upload files? or create folders? be 
cause that's what happen if I logout and relogin with the user with "RO" 
permission.

Original comment by armin.ar...@gmail.com on 20 Oct 2011 at 1:41

GoogleCodeExporter commented 9 years ago
Sorry my bad, I miss understood the permissions.

I just realized that the folder permission are priority over user permission, 
my problem was that I only changed the user permission, now that I changed the 
user and folder permission to READ ONLY is working.

Thanks for your timne

Original comment by armin.ar...@gmail.com on 20 Oct 2011 at 1:57

GoogleCodeExporter commented 9 years ago
User permissions are not stored in session anymore

Original comment by samuli.j...@gmail.com on 3 Mar 2012 at 12:41