Loading...
 
Development

Development


Re: Creating a Permission Descriptor

posts: 1092

If you plan to commit your new feature to tikiwiki 1.10/head, no problem. Add your new perm in db/tiki.sql and db/tiki-1.9to1.10.sql.
You can also commit your new feature to the TikiMods and have a special db update.
If you don't plan to commit your feature, you will have to update your database by yourself
INSERT INTO users_permissions (permName, permDesc, level, type) VALUES ('tiki_p_xxx', 'xxx', 'xxx', 'your_feature');
It is the only thing to do, the per;issions screens will be automatically updated
sylvie

There are no comments at this time.