meteor-roles icon indicating copy to clipboard operation
meteor-roles copied to clipboard

Authorization package for Meteor, compatible with built-in accounts packages

Results 43 meteor-roles issues
Sort by recently updated
recently updated
newest added
trafficstars

This kind of a question / feature request. Currently the package's [client code automatically subscribes to the roles](https://github.com/Meteor-Community-Packages/meteor-roles/blob/master/roles/client/subscriptions.js) and immediately causes data being loaded. I would like to defer this...

Something you frequently do in the application, is check if the current user is allowed to access something. As there currently is no shorthand for this in the Javascript API,...

enhancement
good first issue
help wanted

I have a very complex and large role collection. Since these permissions are needed when the user is logged in, it takes quite some time for my application to load....

enhancement
help wanted

In the examples it shows the following example to remove a user from a scope // remove roles for target scope Roles.setUserRoles(targetUserId, [], scope) The problem is that if the...

Hi, I need to support multiple tenants (different companies), which are further subdivided by teams that should not be able to see each other's data. An example structure below: |...

question
needs feedback

The package has documentation at: https://meteor-community-packages.github.io/meteor-roles/ Should we organize it by versions? Where should be the job to build it? GitHub Actions?

The migration scripts do not delete the old roles in the Roles collection: ``` { "_id" : "admin", "children" : [ ] } //new role is created { "_id" :...

v1
help wanted

https://github.com/Meteor-Community-Packages/meteor-roles/blob/32c230ded9cb92b27a3485d143cabf2732fef186/roles/roles_common.js#L543-L557 The function `_getInheritedRoleNames()` is currently used to construct the array `inheritedRoles` on a role-assignment, where it only takes over the parameter `_id`. If you have data stored on the...

enhancement
good first issue

**Use case** In my model, `'project.member'` is a sub-role of `'project.manager`'. If I want a list of all project members that are **not** managers, AFAIK I cannot yet. Well yes,...

enhancement
good first issue
help wanted

for use with the open `version 4` pr