OptimalBits / node_acl

Access control lists for node applications
2.62k stars 369 forks source link

Renaming Roles? #241

Open SachinVarghese opened 7 years ago

SachinVarghese commented 7 years ago

How do we go about renaming role name while using a knex backend ?

deksden commented 6 years ago

Conceptual question.

For me i ended up with role names in ACL as IDs for real role model, so all role details (including names) are in separate model stored in different database table. So, i can simply rename role as simple update query to database - ACL is totally not involved.