Skip to content

Dynamic url #39

@ashish101184

Description

@ashish101184

I am still not getting how this work?

app.put('/blogs/:id', acl.middleware(), function(req, res, next){…} <---- this is giving me always false....

and if I have allowed in ACL like this way?
acl.allow('admin', ['blogs'], '*')
acl.isAllowed(req.session.userId, '/blogs/12345', 'put') . <--- this is giving me always false.

Please let me know if I am misunderstand.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions