Re: View Any Profile (Permission Cleared) - HTTP ERROR 500 (1.1)
Reply #1 – August 07, 2016, 07:50:05 am
emanuele
Global Moderator
Sorry, my mind is a little numb, would you mind explaining step by step what you did? Something like: 1) create two accounts with no particular groups, 2) registered members don't have "view others profiles" permission, 3) ...
Re: View Any Profile (Permission Cleared) - HTTP ERROR 500 (1.1)
Reply #4 – August 07, 2016, 03:38:24 pm
emanuele
Global Moderator
Ohh... okay, now I got it. It's a kind of special case: in the particular situation you are describing, the registered members still have the permission to send PMs, and this becomes the only action the members are allowed to do, so Elk tries to send them to the "send PM" page, though, send pm is a special case, because it's handled by the PM controllers and so it uses a custom url and not a function, soooo Elk tries to use the function, but it doesn't find it and that generates an error. I see two ways to "fix" this behaviour: 1) redirect to the only possible action, 2) stop the members and present the "you are not allowed" page. I would lean towards 2, but I'm not entirely sure.
Re: View Any Profile (Permission Cleared) - HTTP ERROR 500 (1.1)
Reply #6 – September 06, 2016, 06:13:39 am
emanuele
Global Moderator
First case is by mistake: someone doesn't realize that the two are two totally independent permissions and may assign them that way (denied view, allowed pm). Second case... well, PM permission is anyway necessary to for example contact the administrators, so it may be necesary to have. Third: privacy, the admin do not want other peoples lurking into profile pages, but is fine with them communicating via a private-ish means.