Questions tagged [acl]

A computer file system's access control list (ACL) is a compilation of permissions assigned to an object within the system.

Is there a way to read an AWS file upload's Access Control List (ACL) from the client (specifically React/Next.js) if it is not set to 'public-read'?

Is there a way to upload private files to AWS without granting public-read access, but still be able to view the file using a URL in a protected route on my client side (Reactjs/Nextjs)? How can I make this work? The situation: I need to send a PDF file f ...

The ACL system in Node.js that is based on resources

I am in the process of setting up a basic Access Control system in Node, and I am seeking advice on the most effective approach for what I want to achieve. Currently, I am utilizing Node ACL, but it's not entirely clear how to block access based on s ...

Can we address certain data before the $stateChangeStart event is triggered?

I have been working on creating a custom Role-Permissions system that I want to set up during the initial root state resolve: $stateProvider .state('common', { resolve:{ user: function(AclService, UserService) { UserService.getCurrent ...

What are the names of these limitations? Is there a way for me to learn more about them?

Hey there, I've been experimenting with setting up a 'custom' ACL that includes additional constraints. Typically, an ACL check looks like this: if(aclCheck($user, 'edit', 'really_important_value')){ // Allow $user to 'edit' the 'really_important_valu ...

Combining JWT authentication with access control lists: a comprehensive guide

I have successfully integrated passport with a JWT strategy, and it is functioning well. My jwt-protected routes are structured like this... app.get('/thingThatRequiresLogin/:id', passport.authenticate('jwt', { session: false }), thingThatRequiresLogin.fi ...