Skip to content
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

add the ability to edit vips using @web/vip permissions #120

Merged
merged 2 commits into from
Sep 24, 2024

Conversation

Yeagorn
Copy link
Contributor

@Yeagorn Yeagorn commented Sep 20, 2024

  • added option to edit, create and delete vips having @web/vip permissions.

Here are the following permissions needed in order to be able to delete/edit/create vips:

  1. @web/vip.create - Create the vips
  2. @web/vip.edit - Edit the vips
  3. @web/vip.delete - Deletes the vips

@originalaidn
Copy link
Contributor

originalaidn commented Sep 20, 2024

Please don't forget to add these permissions after here for new users who installing the panel:

(NULL, '@web/mute.unmute', 'Web-only: Permission to unmute a user.', '2024-04-14 15:27:44', '2024-04-14 15:27:44'),

@Yeagorn
Copy link
Contributor Author

Yeagorn commented Sep 20, 2024

Please don't forget to add these permissions after here for new users who installing the panel:

(NULL, '@web/mute.unmute', 'Web-only: Permission to unmute a user.', '2024-04-14 15:27:44', '2024-04-14 15:27:44'),

This one should be added as well since I forgot about it
(NULL, '@web/vip.create', 'Web-only: Permission to create vip.', '2024-04-14 15:27:44', '2024-04-14 15:27:44'), (NULL, '@web/vip.edit', 'Web-only: Permission to edit vip.', '2024-04-14 15:27:44', '2024-04-14 15:27:44'), (NULL, '@web/vip.delete', 'Web-only: Permission to delete vip.', '2024-04-14 15:27:44', '2024-04-14 15:27:44');

@hobsRKM
Copy link
Member

hobsRKM commented Sep 22, 2024

Please don't forget to add these permissions after here for new users who installing the panel:

(NULL, '@web/mute.unmute', 'Web-only: Permission to unmute a user.', '2024-04-14 15:27:44', '2024-04-14 15:27:44'),

This one should be added as well since I forgot about it (NULL, '@web/vip.create', 'Web-only: Permission to create vip.', '2024-04-14 15:27:44', '2024-04-14 15:27:44'), (NULL, '@web/vip.edit', 'Web-only: Permission to edit vip.', '2024-04-14 15:27:44', '2024-04-14 15:27:44'), (NULL, '@web/vip.delete', 'Web-only: Permission to delete vip.', '2024-04-14 15:27:44', '2024-04-14 15:27:44');

Add this too and commit

@Yeagorn
Copy link
Contributor Author

Yeagorn commented Sep 24, 2024

Done,

@originalaidn permissions for mute.unmute was there before.

@originalaidn
Copy link
Contributor

Done,

@originalaidn permissions for mute.unmute was there before.

yep, i know it. Just to put after that, but good also what u did. thanks!

@Yeagorn
Copy link
Contributor Author

Yeagorn commented Sep 24, 2024

Thanks

@hobsRKM hobsRKM merged commit 77e83a6 into counterstrikesharp-panel:main Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants