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)
- Able to impersonate a customer with Manage Customer - Edit permission.
- Merchandise returns and QueuedEmails in a Guest customer displays those of all Guest customers
- Vendor Management Portal in a Separate Project
- Product Tier price cannot be deleted once start date and end date is associated HOT 1
- When we apply discount coupon code at cart even though valid products are not present cart , but message shows coupon code applied HOT 3
- Caching\MemoryCacheBase.cs System.ArgumentOutOfRangeException: The relative expiration value must be positive. (Parameter 'AbsoluteExpirationRelativeToNow') HOT 3
- Sitemaps in Robots.txt is wrong HOT 3
- Bots index every url, even if its duplicate. HOT 4
- 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
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.