-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Correct username in plg_actionlog #24992
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
Correct username in plg_actionlog #24992
Conversation
|
Also see #24862 |
|
I have tested this item ✅ successfully on c3f1500 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/24992. |
|
I have tested this item ✅ successfully on c3f1500 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/24992. |
|
Merging thanks. |
|
@infograf768 can you send the required changes as PR? |
|
TBH, I am not sure about the whole thing |
|
This means that we have to do the reverse of that PR, i.e. use ->name everywhere and keep the filter as is. |
|
I do not see a security breach here. If you can see the action logs, then you can also access the users component and see the usernames. The improvement is that the username is unique and therefore faster to allocate. |
|
You are right that the name is not unique indeed (which is weird btw...). Note: it is always the Name which is displayed in the Managers and Created by field (and its modal), which imho demonstrates that we should make the Name unique too... |
|
I don't think the name should be unique. But if it causes such far-reaching changes, is it perhaps sufficient to write the username in parentheses after the names in the output? |
|
Please test Going further would need more important changes and should imho be reserved to J4. |
|
BTW, why keep using |
|
username is unique, the name isn't. so imo it's better to use username |
|
we must not make "name" unique. That would be terribly restrictive. Even with my almost unique family name there are two "brian teeman" |
|
thats the reason that we stay with username instead using name. |
|
Understood that. Tks. |

Summary of Changes
In the User Actions Log extension, the user is always used in the output. The exception is the log entries related to the cache. Here, the user name is always used instead of the user.
With the change now value username is used instead of value name.
Testing Instructions
Create a new user with
name = Super User
and
username = test
Expected result
User test deleted cache group all
Actual result
User Super User deleted cache group all
Documentation Changes Required
--