-
-
Notifications
You must be signed in to change notification settings - Fork 171
admin2: replace give admin button with permissions widget #208
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
Conversation
Fork update
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.
This PR currently contains merge conflicts. If you can resolve them and address the grammar of some of the messages then I think this is ready to merge.
messageBox("No group selected!", MB_WARNING) | ||
else | ||
local group = guiGridListGetItemText(aPermissions.List, guiGridListGetSelectedItem(aPermissions.List), 1) | ||
if (messageBox('Are you sure to give "' .. group .. '"?', MB_QUESTION, MB_YESNO)) then |
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.
I think a better message would be "Are you sure you want to add [player] to the '[group name]' group?"
messageBox("No group selected!", MB_WARNING) | ||
else | ||
local group = guiGridListGetItemText(aPermissions.List, guiGridListGetSelectedItem(aPermissions.List), 1) | ||
if (messageBox('Are you sure to revoke "' .. group .. '"?', MB_QUESTION, MB_YESNO)) then |
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.
I think a better message would be "Are you sure you want to remove [player] from the '[group name]' group?"
<log>ADMIN: $admin has revoked admin privilegies from $player</log> | ||
<admin>$player's $data group have been revoked</admin> | ||
<player>$admin has revoked your $data group</player> | ||
<log>ADMIN: $admin has revoked $data group from $player</log> |
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.
Again, I think it would be better to say "[player] has been removed from the [group] group."
if someone is going to finish this, it may be worth adding the changes added in #324 |
Going to close this PR as it has become stale. Feel free to reopen it in the future if you find time to address the above comments. |
As requested in #107