-
-
Notifications
You must be signed in to change notification settings - Fork 306
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
Conversation
This ensures that the defines for UI creation can be used for dynamic dialogs. Otherwise the class definition would be running twice.
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.
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 👍
Missionframework/modules/11_permission/fnc/fn_permission_changePermission.sqf
Outdated
Show resolved
Hide resolved
Missionframework/modules/11_permission/fnc/fn_permission_changePermission.sqf
Show resolved
Hide resolved
Missionframework/modules/11_permission/fnc/fn_permission_changePermission.sqf
Show resolved
Hide resolved
Missionframework/modules/11_permission/fnc/fn_permission_checkPermission.sqf
Outdated
Show resolved
Hide resolved
Missionframework/modules/11_permission/fnc/fn_permission_checkVehiclePermission.sqf
Outdated
Show resolved
Hide resolved
Missionframework/modules/11_permission/fnc/fn_permission_syncClients.sqf
Show resolved
Hide resolved
…ePermission.sqf Co-Authored-By: Dubjunk <[email protected]>
Co-Authored-By: Dubjunk <[email protected]>
Co-Authored-By: Dubjunk <[email protected]>
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.
Some small stuff again, but overall lgtm.
Missionframework/modules/11_permission/fnc/fn_permission_changePermission.sqf
Show resolved
Hide resolved
Missionframework/modules/11_permission/fnc/fn_permission_changePermission.sqf
Outdated
Show resolved
Hide resolved
Missionframework/modules/11_permission/fnc/fn_permission_changePermission.sqf
Show resolved
Hide resolved
Missionframework/modules/11_permission/fnc/fn_permission_checkVehiclePermission.sqf
Outdated
Show resolved
Hide resolved
Missionframework/modules/11_permission/fnc/fn_permission_setupPlayerActions.sqf
Show resolved
Hide resolved
Missionframework/modules/11_permission/fnc/fn_permission_addPermissionHandler.sqf
Show resolved
Hide resolved
…VehiclePermission.sqf Co-Authored-By: Dubjunk <[email protected]>
Co-Authored-By: Dubjunk <[email protected]>
Co-Authored-By: Dubjunk <[email protected]>
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.
Overally lgtm, everything worth mentioning was already mentioned by Wyqer.
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:
permission
moduleSuccessfully tested on:
Compatibility checked with: