misspell fix

autogenerate_flutter
Mustafa Yontar 4 years ago
parent b281b30020
commit db5233cf9d
  1. 2
      internal_lib/permission_parser.py

@ -7,7 +7,7 @@ def parse_permission(string):
permission_type{read,delete,write,update,*(for all permissions)}::module_name{module name or for all modules *}::union_id{for all unions *}/item_id{for all items *} permission_type{read,delete,write,update,*(for all permissions)}::module_name{module name or for all modules *}::union_id{for all unions *}/item_id{for all items *}
example string: example string:
read::payments::union1id/* ->read union1 all payments read::payments::union1id/* ->read union1 all payments
read::payments::union1id/collector1 ->read union1 collector1 read::payments::union1id/user1 ->read union1 user1
*::users::union2/* -> read, write, update, delete all users for union2 *::users::union2/* -> read, write, update, delete all users for union2
*::users::union2/user1 -> read, write, update, delete for users1 in union2 *::users::union2/user1 -> read, write, update, delete for users1 in union2
*::*::union2/* -> all permissions for union2 *::*::union2/* -> all permissions for union2

Loading…
Cancel
Save