Skip to content

Conversation

N3xT
Copy link

@N3xT N3xT commented May 27, 2020

As requested in #107

perms

Copy link
Contributor

@jlillis jlillis left a 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
Copy link
Contributor

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
Copy link
Contributor

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>
Copy link
Contributor

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."

@qaisjp qaisjp changed the title Replaced give admin button with permissions widget admin2: replace give admin button with permissions widget Nov 11, 2020
@stoneage-mta
Copy link
Contributor

if someone is going to finish this, it may be worth adding the changes added in #324

@jlillis
Copy link
Contributor

jlillis commented Jun 7, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants