bug fixes for permissions and reserved names
Permissions in updated authority should exist. Non-privileged account creators should be restricted from using account names that _start_ with "eosio.". Reserve "eosio.any" as permission name. Disallow empty parent for any permission other than owner. Reserve id = 0 in permission_index so that a parent id of 0 always means "no parent" rather than referring to a legitimate permission_object (e.g. the owner permission of the system account).
Showing
想要评论请 注册 或 登录