roles icon indicating copy to clipboard operation
roles copied to clipboard

Roles is an authorization library for Golang

Results 4 roles issues
Sort by recently updated
recently updated
newest added

发现文档中的3, 并不准确 > If even one (1) Allow mapping exists, then only roles on that list will be allowed through. ``` permission := roles.Allow(roles.Read, "admin") // permission := roles.Allow(roles.Read, "admin").Deny(roles.Read,...

I want to generate permissions through the directory my login user roles: [complaint_type_read locale_admin complaint_type_add locale_reader complaint_type_edit global_admin complaint_type_delete] more menu errors: ![image](https://user-images.githubusercontent.com/8510542/43309329-1484b236-91b7-11e8-9c8f-119b7d7c0445.png) roles code: ``` for _, rs :=...

I want to assign roles to the user so that I can control their accessibility for individual models. Ex: Let's say I have user1 and user2, model1 and model2. User1...