Questions tagged [role-based-access-control]

155 questions
1
vote
0 answers

How would you approach an "authorization" microservice for resources that this service doesn't directly manage

We have a monolith application and looking to decouple the authentication / authorization service. At this stage, authorization is the simplest to start with. The problem comes with authorizing certain type of access to resources. e.g. a user can…
1
vote
1 answer

What is wrong with my Java program for Role based access control?

In the attached program I am only looking to get the first part of the output. It should look like this: employee:(Permissions: [rw public, r secret], Subjects: [alice, bob], Parents: []) manager:(Permissions: [w secret, r top-secret], Subjects:…
1
vote
1 answer

Passing props to component after declaration in reactjs

I am trying to implement role based authentication as seen in this tutorial REACT AUTHENTICATION TUTORIAL This is my function for react-router-dom
Ashiq
  • 169
  • 2
  • 16
1
vote
1 answer

API and Database Access Control Architecture

I am trying to implement access based control for a Survey app but having trouble designing a functional architecture. It seems like DAC would be a good fit for what I am trying to do, but am unsure. Hierarchy Survey Series -> Multiple Collection's…
1
vote
1 answer

Implement ABAC with AccessControl NPM package?

I've seen accesscontrol recommended for node RBAC, and the documentation says that it is kind of a merge of both rbac and abac. What I'm seeing instead is that everything is still limited 100% to roles, the only "attribute"-type permissions are…
1
vote
1 answer

CakePHP Access Allocation on Role Based specific Data Access

My project requirement is something like this: On Top, there will be Administrator, who will have all d access, first level Under Administrator, there will be Department Heads, who will have all d access, apart from Creating Department Heads Under…
Aditya P Bhatt
  • 21,431
  • 18
  • 85
  • 104
1
vote
0 answers

How to get role name in jenkins from the logged in user id thorugh groovy workflow

My requirement is to get the role name from the role based strategy respective to the user logged in jenkins through groovy script console...currently i am not getting any predefined method for this.
1
vote
1 answer

Role-based permission in multi-tenant application

Scenario: We have a multi-tenant application in which each tenant has its own schema. There is a public schema in which a table exists containing the records of each tenant. So there is a super admin who can create tenants and assign admins to a…
1
vote
2 answers

Role based access using identity server 4 and client credentials grant type

I'm just starting out with Identity Server 4. I'm trying to protect an API using the Client Credentials grant type. I have an API setup within IS4: public static IEnumerable Apis => new List { …
1
vote
1 answer

Nestjs: Access control based on the organization of a user

I am writing my first API with NestJS and I am looking for a smart way of managing access to resources. I have the following simplified structure: organization: users products users: email organization products: organization more data I use…
1
vote
1 answer

Role based security for tabs/pages in PowerBI (not row level secuity)

Is there a way to provide role based security for different tabs/pages on PowerBi cloud desktop version. As in, if I have a PowerBI report with 27 different tabs used by 4 departments, can we restrict access to each department based on tabs that is…
1
vote
1 answer

Role Based Access Control MySql Implementation

I'm about to develop a management web app with Laravel. I need that my users have different roles with different permission. In details: some users can add customers, some users can write pieces of a paper related to the customer, some other users…
1
vote
1 answer

Is it possible to tamper client-side code in Angular app?

I'm not much experienced in JavaScript programming or Angular app development, but my general understanding is, when JavaScript reaches the client end, it can be tampered. I've come across some sample implementation of role-based authorization in…
atiyar
  • 7,762
  • 6
  • 34
  • 75
1
vote
1 answer

Does the ASP.NET-Core application hit the database anytime it requires access to claims?

I'm about to make a decision on whether to use claims or session for some items that would require frequent access in my application but I am concerned about performance. That is why I want to find out whether the application will always query the…
Josh
  • 1,660
  • 5
  • 33
  • 55
1
vote
1 answer

React: How to use render props to implement Role Based Authentication

I want to implement role based authorization using render props. I have three user types and I want to give each user type access to different parts of the nav bar and different pages in my application. I am not sure how to implement it, any…
lshawa
  • 45
  • 9