Comments (4)
This snippet returns false on occurrence of a deny rule in actions. Should it return true whenever there is no deny rule for a group in the for loop instead?
from grandnode2.
@Nikhil13x yes, it is expected behaviour.
from grandnode2.
@KrzysztofPajak Understood. But the logic at permissionSystemName level works in the other way. If the checkbox is selected for any groups assigned to the user, it allows access.
Only at action level, the deny rule is applied. It's confusing a little.
from grandnode2.
@Nikhil13x you have right, it can be a little confusing.
I will consider to change it.
In the PermissionAction collection (in database) we save records to which you do not have access. In this case, we will have to change the operating mechanism and perform a migration.
from grandnode2.
Related Issues (20)
- How long will it take for the new version to be released? HOT 2
- Shipping Status filter in Orders page is not filtering in some cases HOT 1
- How do I override the existing view? HOT 1
- Separate DbProviders Logic into a Standalone Project
- Refactoring Template Handling - Implementing Plugin-like Mechanism
- While Checking out with any product for a specific country the state field is empty HOT 1
- Shipping address cannot be loaded HOT 1
- No Length restrictions and validations in the name fields of registration UI HOT 2
- Implementation of Stripe Checkout as a Replacement for PayPal Plugin
- Implement Integration with Azure App Configuration for Centralized Settings Management
- Implement Central Package Management (CPM) for Dependency Management
- How to identify website visitors to develop a product recommendation system HOT 1
- role management HOT 1
- When I publish to iis, I can't load the plugin. HOT 1
- Setup failed: Method ToLowerInvariant() in String are not supported when convert to BsonExpression HOT 2
- Migration from mongo-csharp-driver to mongo-efcore-provider HOT 2
- The Activity Log feature is missing in the latest release. HOT 1
- discount requirement 'subtotal in shopping cart x.xx' is actually 'customer had spent x.xx amount' HOT 2
- A/B Testing HOT 1
- Google structured data markup JSON-LD is missing SEO settings HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grandnode2.