adonis-guard icon indicating copy to clipboard operation
adonis-guard copied to clipboard

🔰 Authorization provider built on top of @slynova/fence

Results 10 adonis-guard issues
Sort by recently updated
recently updated
newest added

Bumps [edge.js](https://github.com/poppinss/edge) from 1.1.4 to 5.3.2. Release notes Sourced from edge.js's releases. Fix XSS vulnerability reported by Snyk security team fix: Cross-Site Scripting vulnerability reported by Snyk security team fa2c7fd...

dependencies

Hello, I'm using Adonis v4 with adonis-guard. I created a ProductPolicy: ``` 'use strict' class ProductPolicy { index (user) { // } show (user, product) { // } create (user)...

Currently, I have multiple authentication schemes setup in my application. Unfortunately, adonis-guard keeps using the default guard for all application schemes, hence denying access during authorization. This results in the...

This behavior of denies is broken because of a change made in the original repo of `Slynova-Org/fence`

Is it possible to create async methods in policy? Sometimes I need to check another table to verify if an user has permission, but when adding async to policy it...

Hello 👋, I have started to use adonis and I'm doing some functional test to check if my routes have the right policy applied. I'm trying to test `users/` endpoints,...

https://github.com/RomainLanz/adonis-guard/blob/d89338e00dca869e7ac0eb13b3c2e2a8a2dd7508/src/Middleware/Can.js#L14 I believe `await` should be added to the condition in this line. If an `async` function is added to `Gate.define`, this condition will ignore the gate result and allow...

Guard looks good but I'm confused how it works. Would there be any chance of adding an example of an actual Gate, Policy and subsequent checks? For example: A Posts...

enhancement

Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.1.2. Commits 699c459 3.1.2 2f2b5ff fix: trim pattern 25d7c0d 3.1.1 55dda29 fix: treat nocase:true as always having magic 5e1fb8d 3.1.0 f8145c5 Add 'allowWindowsEscape' option 570e8b1...

dependencies

Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2. Release notes Sourced from decode-uri-component's releases. v0.2.2 Prevent overwriting previously decoded tokens 980e0bf https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.1...v0.2.2 v0.2.1 Switch to GitHub workflows 76abc93 Fix issue where decode...

dependencies