Refactor permission structure

This commit is contained in:
Nicola Benaglia
2025-05-23 18:02:03 +02:00
parent b69fd5338a
commit c67f715a45
2 changed files with 109 additions and 107 deletions

View File

@@ -124,56 +124,58 @@
"name": "name: {{ name }}",
"option": "option: {{ option }}",
"options": "options: {{ optionList }}",
"permission_access_list": "do you give this application permission to access the list",
"permission_all_item_list": "do you give this application permission to add the following to the list {{ name }}:",
"permission_authenticate": "do you give this application permission to authenticate?",
"permission_buy_order_fee_estimation_one": "this fee is an estimate based on {{ quantity }} order, assuming a 300-byte size at a rate of {{ fee }} {{ ticker }} per KB.",
"permission_buy_order_fee_estimation_other": "this fee is an estimate based on {{ quantity }} orders, assuming a 300-byte size at a rate of {{ fee }} {{ ticker }} per KB.",
"permission_buy_order_per_kb": "{{ fee }} {{ ticker }} per kb",
"permission_buy_order_quantity_one": "{{ quantity }} buy order",
"permission_buy_order_quantity_other": "{{ quantity }} buy orders",
"permission_buy_order_ticker": "{{ qort_amount }} QORT for {{ foreign_amount }} {{ ticker }}",
"permission_buy_order": "do you give this application permission to perform a buy order?",
"permission_cancel_sell_order": "do you give this application permission to perform: cancel a sell order?",
"permission_delete_hosts_resources": "do you give this application permission to delete {{ size }} hosted resources?",
"permission_fetch_balance": "do you give this application permission to fetch your {{ coin }} balance",
"permission_get_wallet_info": "do you give this application permission to get your wallet information?",
"permission_get_wallet_transactions": "do you give this application permission to retrieve your wallet transactions",
"permission_list_hosted_data": "do you give this application permission to get a list of your hosted data?",
"permission_order_detail": "{{ qort_amount }} QORT for {{ foreign_amount }} {{ ticker }}",
"permission_pay_publish": "do you give this application permission to make the following payments and publishes?",
"permission_publish_qdn": "do you give this application permission to publish to QDN?",
"permission_remove_from_list": "do you give this application permission to remove the following from the list {{ name }}:",
"permission_sell_order": "do you give this application permission to perform a sell order?",
"permission_send_chat_message": "do you give this application permission to send this chat message?",
"permission_send_coins": "do you give this application permission to send coins?",
"permission_server_add": "do you give this application permission to add a server?",
"permission_server_remove": "do you give this application permission to remove a server?",
"permission_set_current_server": "do you give this application permission to set the current server?",
"permission_transfer_asset": "do you give this application permission to transfer the following asset?",
"permission_sell_name_transaction": "do you give this application permission to create a sell name transaction?",
"permission_sell_name_transaction_detail": "sell {{ name }} for {{ price }} QORT",
"permission_sell_name_cancel": "do you give this application permission to cancel the selling of a name?",
"permission_buy_name": "do you give this application permission to buy a name?",
"permission_buy_name_detail": "buying {{ name }} for {{ price }} QORT",
"permission_sign_fee": "do you give this application permission to sign the required fees for all your trade offers?",
"permission_update_foreign_fee": "do you give this application permission to update foreign fees on your node?",
"permission_perform_admin_action": "do you give this application permission to perform the admin action: {{ type }}",
"permission_perform_admin_action_with_value": "with value: {{ value }}",
"permission_sign_transaction": "do you give this application permission to sign a transaction?",
"permission_sign_process_transaction": "do you give this application permission to sign and process a transaction?",
"permission_register_name": "do you give this application permission to register this name?",
"permission_leave_group": "do you give this application permission to leave the following group?",
"permission_invite": "do you give this application permission to invite {{ invitee }}?",
"permission_kick": "do you give this application permission to kick {{ partecipant }} from the group?",
"permission_ban": "do you give this application permission to ban {{ partecipant }} from the group?",
"permission_cancel_ban": "do you give this application permission to cancel the group ban for user {{ partecipant }}?",
"permission_add_admin": "do you give this application permission to add user {{ invitee }} as an admin?",
"permission_remove_admin": "do you give this application permission to remove user {{ partecipant }} as an admin?",
"permission_cancel_group_invite": "do you give this application permission to cancel the group invite for {{ invitee }}?",
"permission_create_group": "do you give this application permission to create a group?",
"permission_update_group": "do you give this application permission to update this group?",
"permission_update_group_detail": "new owner: {{ owner }}",
"permission": {
"access_list": "do you give this application permission to access the list",
"add_admin": "do you give this application permission to add user {{ invitee }} as an admin?",
"all_item_list": "do you give this application permission to add the following to the list {{ name }}:",
"authenticate": "do you give this application permission to authenticate?",
"ban": "do you give this application permission to ban {{ partecipant }} from the group?",
"buy_name_detail": "buying {{ name }} for {{ price }} QORT",
"buy_name": "do you give this application permission to buy a name?",
"buy_order_fee_estimation_one": "this fee is an estimate based on {{ quantity }} order, assuming a 300-byte size at a rate of {{ fee }} {{ ticker }} per KB.",
"buy_order_fee_estimation_other": "this fee is an estimate based on {{ quantity }} orders, assuming a 300-byte size at a rate of {{ fee }} {{ ticker }} per KB.",
"buy_order_per_kb": "{{ fee }} {{ ticker }} per kb",
"buy_order_quantity_one": "{{ quantity }} buy order",
"buy_order_quantity_other": "{{ quantity }} buy orders",
"buy_order_ticker": "{{ qort_amount }} QORT for {{ foreign_amount }} {{ ticker }}",
"buy_order": "do you give this application permission to perform a buy order?",
"cancel_ban": "do you give this application permission to cancel the group ban for user {{ partecipant }}?",
"cancel_group_invite": "do you give this application permission to cancel the group invite for {{ invitee }}?",
"cancel_sell_order": "do you give this application permission to perform: cancel a sell order?",
"create_group": "do you give this application permission to create a group?",
"delete_hosts_resources": "do you give this application permission to delete {{ size }} hosted resources?",
"fetch_balance": "do you give this application permission to fetch your {{ coin }} balance",
"get_wallet_info": "do you give this application permission to get your wallet information?",
"get_wallet_transactions": "do you give this application permission to retrieve your wallet transactions",
"invite": "do you give this application permission to invite {{ invitee }}?",
"kick": "do you give this application permission to kick {{ partecipant }} from the group?",
"leave_group": "do you give this application permission to leave the following group?",
"list_hosted_data": "do you give this application permission to get a list of your hosted data?",
"order_detail": "{{ qort_amount }} QORT for {{ foreign_amount }} {{ ticker }}",
"pay_publish": "do you give this application permission to make the following payments and publishes?",
"perform_admin_action_with_value": "with value: {{ value }}",
"perform_admin_action": "do you give this application permission to perform the admin action: {{ type }}",
"publish_qdn": "do you give this application permission to publish to QDN?",
"register_name": "do you give this application permission to register this name?",
"remove_admin": "do you give this application permission to remove user {{ partecipant }} as an admin?",
"remove_from_list": "do you give this application permission to remove the following from the list {{ name }}:",
"sell_name_cancel": "do you give this application permission to cancel the selling of a name?",
"sell_name_transaction_detail": "sell {{ name }} for {{ price }} QORT",
"sell_name_transaction": "do you give this application permission to create a sell name transaction?",
"sell_order": "do you give this application permission to perform a sell order?",
"send_chat_message": "do you give this application permission to send this chat message?",
"send_coins": "do you give this application permission to send coins?",
"server_add": "do you give this application permission to add a server?",
"server_remove": "do you give this application permission to remove a server?",
"set_current_server": "do you give this application permission to set the current server?",
"sign_fee": "do you give this application permission to sign the required fees for all your trade offers?",
"sign_process_transaction": "do you give this application permission to sign and process a transaction?",
"sign_transaction": "do you give this application permission to sign a transaction?",
"transfer_asset": "do you give this application permission to transfer the following asset?",
"update_foreign_fee": "do you give this application permission to update foreign fees on your node?",
"update_group_detail": "new owner: {{ owner }}",
"update_group": "do you give this application permission to update this group?"
},
"poll": "poll: {{ name }}",
"provide_recipient_group_id": "please provide a recipient or groupId",
"request_create_poll": "you are requesting to create the poll below:",