Skip to content
#

permissions

Here are 593 public repositories matching this topic...

khadkarajesh
khadkarajesh commented Jan 25, 2019

Expected behaviour

If any permission has requested on the code but hasn't declared on the manifest. We should provide a proper message to declare permission on manifest

Actual behaviour

Not showing any message to declare in manifest

Steps to reproduce

Execute the code without declaring camera permission on the manifest.

     Dexter.withActivity(context)
        
Hobadee
Hobadee commented Nov 9, 2019

Poking around in the code I see references to Constraints. (Silber\Bouncer\Constraints and associated classes)

I have played around with them some and even got them to write out their configuration to the database, but I can't figure out how to actually use them. They appear to be completely undocumented, and I can't quite figure out how they tie into things, although they also appear to be V

sourabhkumawat
sourabhkumawat commented Oct 31, 2019

I found your work very interesting and I am very enthusiastic to learn from you, I followed the Access Control documentation and I found that there are some mistakes in the code snippets in the documentation which can be confusing for someone who is new to javascript. please if you can review your code snippets once that would be great.
![Annotation 2019-10-31 105139](https://user-images.githubus

Routhinator
Routhinator commented Oct 11, 2018

The documentation provides many examples of things we can do, with zero context on when, why, or pros and cons of each. Like, why would I use a RuleSet? What's the purpose of this feature? When should I use rules vs perms? What's the best way to implement rules in a DRY manner across multiple subapps in a Django project?

rustam87
rustam87 commented Nov 14, 2019

v.5.0.3

var RBAC = require('rbac');

return

{ __esModule: true,
  RBAC: [Function: RBAC],
  Base: [Function: Base],
  Role: [Function: Role],
  Permission: [Function: Permission],
  Storage: [Function: Storage],
  Memory: [Function: Memory] }

in doc you wrote
var RBAC = require('rbac').default

Where is default key?
var RBAC = require('rbac').default
return **

jrochkind
jrochkind commented Jul 5, 2018

README says:

Note: cannot is still available, but has a very specifc [sic] use. See Usage below.

However, no example is actually given of cannot in Usage or elsewhere. Controller/view method cannot? is described, but not the quite different cannot method in permission definitions.

At first I thought cannot was maybe not actually there, the README reference was wrong or I misund

Improve this page

Add a description, image, and links to the permissions topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the permissions topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.