Add item transfer own/any role permissions
This commit is contained in:
@@ -36,6 +36,8 @@ PERMISSIONS: tuple[str, ...] = (
|
|||||||
"item.use",
|
"item.use",
|
||||||
"item.pickup_drop.own",
|
"item.pickup_drop.own",
|
||||||
"item.pickup_drop.any",
|
"item.pickup_drop.any",
|
||||||
|
"item.transfer.own",
|
||||||
|
"item.transfer.any",
|
||||||
"chat.send",
|
"chat.send",
|
||||||
"voice.send",
|
"voice.send",
|
||||||
"profile.update_nickname",
|
"profile.update_nickname",
|
||||||
@@ -56,6 +58,8 @@ PERMISSION_DESCRIPTIONS: dict[str, str] = {
|
|||||||
"item.use": "Allow using item primary and secondary actions.",
|
"item.use": "Allow using item primary and secondary actions.",
|
||||||
"item.pickup_drop.own": "Allow picking up and dropping items created by this user.",
|
"item.pickup_drop.own": "Allow picking up and dropping items created by this user.",
|
||||||
"item.pickup_drop.any": "Allow picking up and dropping any item.",
|
"item.pickup_drop.any": "Allow picking up and dropping any item.",
|
||||||
|
"item.transfer.own": "Allow transferring items created by this user to another user.",
|
||||||
|
"item.transfer.any": "Allow transferring any item to another user.",
|
||||||
"chat.send": "Allow sending chat messages.",
|
"chat.send": "Allow sending chat messages.",
|
||||||
"voice.send": "Allow transmitting microphone audio.",
|
"voice.send": "Allow transmitting microphone audio.",
|
||||||
"profile.update_nickname": "Allow changing nickname.",
|
"profile.update_nickname": "Allow changing nickname.",
|
||||||
@@ -78,6 +82,8 @@ DEFAULT_ROLE_PERMISSIONS: dict[str, set[str]] = {
|
|||||||
"item.use",
|
"item.use",
|
||||||
"item.pickup_drop.own",
|
"item.pickup_drop.own",
|
||||||
"item.pickup_drop.any",
|
"item.pickup_drop.any",
|
||||||
|
"item.transfer.own",
|
||||||
|
"item.transfer.any",
|
||||||
"chat.send",
|
"chat.send",
|
||||||
"voice.send",
|
"voice.send",
|
||||||
"profile.update_nickname",
|
"profile.update_nickname",
|
||||||
@@ -88,6 +94,7 @@ DEFAULT_ROLE_PERMISSIONS: dict[str, set[str]] = {
|
|||||||
"item.delete.own",
|
"item.delete.own",
|
||||||
"item.use",
|
"item.use",
|
||||||
"item.pickup_drop.own",
|
"item.pickup_drop.own",
|
||||||
|
"item.transfer.own",
|
||||||
"chat.send",
|
"chat.send",
|
||||||
"voice.send",
|
"voice.send",
|
||||||
"profile.update_nickname",
|
"profile.update_nickname",
|
||||||
|
|||||||
Reference in New Issue
Block a user