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

Permission system Part 1 #560

Merged
merged 79 commits into from
Dec 30, 2018
Merged

Permission system Part 1 #560

merged 79 commits into from
Dec 30, 2018

Conversation

Dubjunk
Copy link
Contributor

@Dubjunk Dubjunk commented Dec 23, 2018

Q A
Bug fix? no
New feature? yes
Needs wipe? no
Fixed issues #541

Description:

The permission module provides various functions and features to provide a functional and dynamic permission system.
The player can now fully control each permission via dialog and add/remove permissions in the postInit of each module.
Details will be provided later in the Liberation Wiki.

Content:

  • Create permissionmodule
  • Provide a permission dialog for the admin
  • Setup general functions
    • Check specific permission
    • Set permissions
  • Implement it to the various modules

Successfully tested on:

  • Local MP Vanilla
  • Dedicated MP Vanilla

Compatibility checked with:

  • NONE

Copy link
Member

@Wyqer Wyqer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Basically it looks fine on a first overview without a real test in the game.
Some small things to shorten the code or get rid of unnecessary variables.
In general I guess there could be something to optimize in a later stage or as soon as others adding persmission to it, but for now the commented stuff is all I've found so far.
Thanks for the work 👍

Wyqer
Wyqer previously approved these changes Dec 29, 2018
Copy link
Member

@Wyqer Wyqer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some small stuff again, but overall lgtm.

Copy link
Member

@veteran29 veteran29 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overally lgtm, everything worth mentioning was already mentioned by Wyqer.

@Dubjunk Dubjunk merged commit 5cbbec4 into v0.97S9 Dec 30, 2018
@Dubjunk Dubjunk deleted the v0.97S9-541 branch December 30, 2018 16:49
@Wyqer Wyqer mentioned this pull request Jan 1, 2019
@Wyqer Wyqer added done and removed review/QA labels May 5, 2019
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