com_messages
Private Messages Manager: Write Private Message
User list is null when writing a new private message on clicking the "select user" modal popup field.
The list of users is not displayed when clicking the select user modal in com_messages for writing a new private message to a user.
-> Go to components.
-> Open Messaaging.
-> Click on NEW.
-> Click on select user for 'Recipient' field.
The user list should be fetched & displayed to select a user from it.
No user list is retrieved
reproduce in joomla 3.3.7-dev (ubuntu).
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4738.
This list will only display manager or superusers. If you are the only superuser on the site then it is expected that this list will be empty.
Note on my site I can see the other superuser I have. So I cannot replicate this bug
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4738.
reproduced in joomla 3.3.7-dev (Win7 - AMPPS)
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4738.
Thanks for the fruitful information George.
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4738.
A user is created in user manager?
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4738.
Priority | Critical | ⇒ | Medium |
No worries! The reason is that only people who have backend access can use com_messages (as it has no frontend views)
So these are the 3 groups we allow:
core.admin (global), core.manage (in com_messages) and core.login.admin
Backend access can be given to any group. So this feature should depend on permissions, not groups, shouldn't it? And then, the permissions and memberships can change any time. So if I write a message to a registered user, he could receive my message when I either change group permissions or change group membership.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2014-10-17 10:28:45 |
Backend access can be given to any group. So this feature should depend on permissions, not groups, shouldn't it?
It is not depend on groups but by default only the both groups manager
and super user
have the permissions to do it.
See the comment by @wilsonge #4738 (comment) and the snippet form the code:
https://github.com/joomla/joomla-cms/blob/staging/administrator/components/com_messages/models/fields/usermessages.php#L56-L69
I think this needs to be reopened, if only special users are able to recieve messages then why are other groups listed? Either fix it so only allowed groups are listed, or fix the bug not listing all users
OK so all those users should appear in the list. It just happens on the site I tested on the only admins or people with backend access are the two superusers
One possibility is to do it like with buttons and menu items: show everything and grey out what's not available.
So imagine a site (and this is viable with like 20k users and 3/4 admins) - it's not the best use of time ever :P
Labels |
Added:
?
|
If this issue is not going to be entertained, then I would like to suggest that atleast we can provide a tooltip info following the " Recipient " field which will make the users aware of the fact that only specific usergroups(like superusers) are listed in the modal popup. This will surely minimize the state of confusion to a great extent.
@deepanshu-jha done here: #4830
Labels |
Added:
?
|
@deepanshu-jha a user need to be a
manager
orsuper user
by default. Have you check this?