Added permission system #106
No reviewers
Labels
No labels
complexity
high
complexity
low
complexity
medium
importance
high
importance
low
importance
medium
type
bug
type
chore
type
feature suggestion
type
missing feature
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
thetxt/oxide!106
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "Fix448/oxide:permission"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Added permission system with /op and /deop command
@ -138,6 +139,7 @@ impl Clone for Player {dimension: self.dimension.clone(),loaded_chunks: self.loaded_chunks.clone(),portal_cooldown: self.portal_cooldown,permission: Permission::Everyone,this should be self.permission
thanks for contributing! Please talk to me first in the future, to ensure that I can merge your changes.
From my quick look I only found one minor thing that should be fixed (attached a comment in the review).
Other than that I think this is missing saving/loading permissions to/from disk. Ideally using the vanilla ops file format
Added permission systemto WIP: Added permission systemWIP: Added permission systemto Added permission systemWould it be OK to use serde and serde_json for the ops.json file?
@Fix448 wrote in #106 (comment):
I would prefer to not add additional dependencies if we can avoid it
I don't think we can avoid it in the long run.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.