Questions tagged [role-based-access-control]

155 questions
4
votes
2 answers

Keycloak: authZ with nodeJS

I am trying to secure a REST API using keycloak authorization mechanisms. My API is in NodeJS with express. Say I have this API: http://www.example.com/api/v1/houses The endpoint supports GET/POST/PUT/DELETE. A house has a name and an owner: { …
cdupont
  • 1,138
  • 10
  • 17
3
votes
1 answer

Snowflake Role based Access control hierarchy

I am looking for your suggestions on Snowflake Role based Access control hierarchy which I created for a Snowflake data warehousing project. Basically, we need to maintain different client data with different databases. This database creation…
3
votes
0 answers

MERN stack MongoDB Permission and Access Level Setup

I am creating a MERN Stack application. I am very confused about access permission to keys in my mongoDb schemas. I came from Firebase which allowed you to set up node level read/write access controls in the Firebase rules. Below is an example I…
3
votes
2 answers

Role based authorization in ASP.NET Core 3.1 with Identity and ExternalLogin

Im new to .NET Core and I'm trying to setup Role based authorization in a .NET Core 3.1 project. I believe I clicked on every tutorials and threads talking about it online. My problem is that it seems to be working very easily on the tutorials, but…
3
votes
1 answer

Adding Role Based Redirection Upon Login to React App

So I have an app that currently works fine on login, just takes you to the basic app. I created a new page called AdminDashboard.js, and added a new part to the json called "Admin" which is set to 1 for admin users and 0 for everyone else. I don't…
3
votes
0 answers

Role based authentivation in ASP.NET core MVC 6

I have searched for some hours now and can't figure out how to set up a role based authentication in asp.NET core MVC 6 using identity 3. I have worked my way trough these threads: Adding Role dynamically in new VS 2013 Identity UserManager Creating…
3
votes
0 answers

Asp.Net MVC 5 reflect role changes immediately

In Asp.Net MVC, if a user's role is changed while he is already logged in, it won't be actually reflected until the user logs out and logs back in. Is there any way to make role changes reflect immediately? I'm using the default Asp.Net identity.
2
votes
3 answers

What is the difference between a Contributor role and Storage Account Contributor role in Azure AD?

In Azure, I have an admin role. In Active Directory, I have added a new user. I need to grant permission to a user to access our storage account as a contributor role. I'm confused between the contributor and storage account contributor roles. What…
2
votes
1 answer

How to configure access to a single blob storage container

I need to enable one external user, to be able to access a single directory in a single container in my datalake, in order to upload some data. From what I see in the documentation, it should be possible to simply use RBAC & ACL, so that the user…
2
votes
2 answers

Dropdown not opening since I changed to component class and removed hooks

I am trying to implement a role based access menu into my React app and have used a NavBar from Material UI. I had it working previously but since I removed the hooks when I changed it to a class component I can't get it isn't displaying correctly…
James Gee
  • 129
  • 1
  • 3
  • 24
2
votes
2 answers

How safe is job role based authorization in react?

I recently saw a video in which they used react with node/express at the back, to do role based authorization. In that, once a user is authenticated, his job role is passed as a response to the react front end, which is then stored in states and…
2
votes
1 answer

How to create a custom role in Azure, so that another user is able to only view the list of files in a blob container but not its contents(RBAC)

How to create a custom role in Azure using Access Control(IAM), so that another user is able to view the list of files in a blob container but not its contents. Also, the user should not be able to make any changes.
Saqeeb
  • 23
  • 3
2
votes
1 answer

React Router v5.1.2 Public & Protected Authenticated & Role Based routes

Goal is to have /login as the only public route, once logged in user has routes based on user role. Authentication is done with Keycloak I get users from keycloak.idTokenParsed.preferred_username: admin, manager, engineer, operator. If operator…
2
votes
1 answer

Keycloak & React Router routing for Public/Login & Authenticated & Role based routes

I did see Tyler McGinnis https://tylermcginnis.com/react-router-protected-routes-authentication/ Protected routes and authentication with React Router v4 I use react-router-dom v 5.1.2 I initialize keycloak in index.js & pass it as a prop to App.js…
2
votes
1 answer

Azure Access Control for Resource Groups

I have a Subscription in my company that is shared for all members of the team (all employees). We use this subscription for test, dev and also production workloads. We have only one subscription because it is a sponsored subscription thanks to our…
David GROSPELIER
  • 772
  • 1
  • 9
  • 35
1
2
3
10 11