I need to know how I can add a new permission in drupal, for example, in drupal when I’m editing the roles permission I select the permission administer filters to grant it, so I need a new permission like Allow preauthorized tickets for my own aplication, how I can add it to the list, to be granted to any rol.
Any advice will be usefull to me.
You need to implement
hook_perm()in a custom module: