Editing Security
From Bebot Wiki 2
Jump to navigationJump to searchWarning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 33: | Line 33: | ||
Each core or module commands have a default access level hardcoded & that is set for obvious security : the highest sensibility worth the highest level, indeed. Those access levels are recorded into your database on first bot launch. That means changing the code for different access level on a command after first launch will have no effect. To edit this you must therefore edit your database, specifically the table named botname_access_level ... which could be done by direct request if you're easy enough with SQL language, otherwise and more visually we advice you to install PHPMyAdmin on your server and connect to database that way. | Each core or module commands have a default access level hardcoded & that is set for obvious security : the highest sensibility worth the highest level, indeed. Those access levels are recorded into your database on first bot launch. That means changing the code for different access level on a command after first launch will have no effect. To edit this you must therefore edit your database, specifically the table named botname_access_level ... which could be done by direct request if you're easy enough with SQL language, otherwise and more visually we advice you to install PHPMyAdmin on your server and connect to database that way. | ||
− | You will therefore be able to easily overview various commands access levels, with subcommand and/or originating channel. Simply click the | + | You will therefore be able to easily overview various commands access levels, with subcommand and/or originating channel. |
+ | Simply click the value you want to change and select the new value in the proposed list as shown below : | ||
http://wiki.bebot.link/images/access_level_php_admin.jpg | http://wiki.bebot.link/images/access_level_php_admin.jpg |