question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

enforceSync ignores subject, always returns true if policy exists for object and method.

See original GitHub issue

See codesandbox for a simple reproduction: https://codesandbox.io/s/xenodochial-kapitsa-xhszj

Basically enforcer.enforceSync seems to return always true in the example above, no matter what the subject is.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:13 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
Sefriolcommented, Aug 12, 2022

This should be now fixed with release v5.16.0: https://codesandbox.io/s/serene-solomon-g18wnw

0reactions
Sefriolcommented, Aug 5, 2022

I meant that more drastic changes can be done to casbin core in the future.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Behaviour subject initial value null? - angular - Stack Overflow
The purpose of BehaviorSubject is to provide initial value. It can be null or anything else. If no valid initial value can be...
Read more >
On The Subject Of Subjects (in RxJS) | by Ben Lesh - Medium
To remove your observer from the subject's list of observers, you simply call unsubscribe on the subscription returned when you added the observer...
Read more >
4.4 Changelog — MongoDB Manual
SERVER-69868 Return an error when starting a TransportLayer that is shutdown ... SERVER-70398 Handle case when execution doesn't exist.
Read more >
Download PDF - CA Technologies - Yumpu
This cache invalidation onlyoccurs on the Provisioning Server that processed that provisioningdirectory update. If you have multiple ...
Read more >
BehaviorSubject - RxJS Reference - InDepth.Dev
When a source observable emits a new value or the method next is called on the subject, update the current value with the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found