Adonis BullMQ- Simple BullMQ provider for you own queue commands Adonis NATS- Scale your Adonis 5 application to infinity with microservices based on classes (with code completion from client side!) and NATS transport AdonisJS reCAPTCHA v2- Verifier for Google ReCAPTCHA v2 ...
.define("editPost", (user: User, post: Post) => { if (userHasRoles(["admin"], user)) { return true; } if (userHasRoles(["member"], user) && user.id === post.userId) { return true; } return false; }) Then, in your controller, use the defined bouncer like so (don't ...
9046: Replaces can_only_access_owned_queries by all_query_access favoring a white list approach. Since a new permission is introduced use superset init to create and associate it by default to the Admin role. Note that, by default, all non Admin users will not be able to access queries ...