User roles in the BOT-MAKRKET system in Telegram
Published: 23.08.2024
Users and Tokens have roles. It is important to note that roles have nothing to do with the statuses of users in bots.
The role opens access to sections on the site, and the status only displays the bot in the list of all bots and does not affect the role in any way.
It is quite possible that a user may have the status of a manager, but at the same time not have any rights in the bot.

List of roles and their assignment
Description of access roles
main - gives access to all bot settings except critical ones. (Such as issuing user role changes)
It is important to understand that this role is not safe and if you give it to people you do not trust, it can lead to a breakdown of the bot.
botUser - Access to viewing and management of users and resources.
design - Access to the design of the bot (To the content of free messages) and other designs
setting - Access to the bot settings. To scenarios, to free messages, to events. Their creation and deletion.
highRisk - Access to critical sections. Such as issuing and changing passwords.
translate - Access to the translator component. And all its sections
log - Access to view logs of all levels
mailing - Access to newsletters
JoinRequest - Access to the request processing component in the resource.
botUser - Access to viewing and management of users and resources.
design - Access to the design of the bot (To the content of free messages) and other designs
setting - Access to the bot settings. To scenarios, to free messages, to events. Their creation and deletion.
highRisk - Access to critical sections. Such as issuing and changing passwords.
translate - Access to the translator component. And all its sections
log - Access to view logs of all levels
mailing - Access to newsletters
JoinRequest - Access to the request processing component in the resource.