Questions tagged [role-based-access-control]

155 questions
0
votes
0 answers

Field level access Control using Aspects/ Custom Annotation (Spring boot , Microservice)

Currently i am trying to implement authorization on fields , please find the cases from the below example : Based on some specific roles which are available in the ThreadLocal , we should be able to determine whether the user is allowed to pass the…
vivek java
  • 59
  • 6
0
votes
0 answers

How do I implement role based access with express and vuejs

I have an app with express backend and vue frontend, I have implemented use authentication. Now I want to restrict certain users from access certain routes when registering the user. I have created a default user with admin email as the only person…
0
votes
0 answers

how can I provide Role based access to Blog app?

I am confused in how can I develop user roles to the Blog application? I have tried to give roles in user model itself [Admin, user, author] But now I am getting confuse, how can user have aceess of all blogs to READ. If my user wants to create a…
0
votes
1 answer

How to filter custom directory roles from Powershell Or CLI

I have few custom directory roles with specific permissions. I attempted to do it from graph but no use, throwing errors. Is there any other possible way to get that list from Powershell Or CLI. Get-AzRoleDefinition Getting all roles, how to add…
0
votes
0 answers

Field level protection for web api based on roles

I have an internal Web API which exposes JSON. I would like to expose some of the features based on roles of the authenticated user (or machine) from JWT or API-key. E.g internal API where filter.customerId.eq and filter.vendorId.eq are optional…
0
votes
0 answers

ngx-permissions not working in child-components (angular 14)

When a child component with this html code:
Just Admin see it
is being loaded, this error happens: users-list.component.html:2 NG0303: Can't bind to 'ngxPermissionsOnly' since it isn't a known property of…
Ata
  • 1
  • 1
0
votes
0 answers

neo4j graphql @auth only read if relationship property is x

Inside @auth allow or where field, I would like to access the role of the user on PART_OF_TEAM to determine whether or not they should read/edit the posts. As an example: a user connected to a team with the edge property "VIEWER" should only be able…
0
votes
1 answer

Unauthorized error send message from function app to eventgrid when Debugging but OK when run in Azure

I have a function app with a function that sends message to event grid. The function app is RBAC enrolled and authorized. A function in this same function app is subscribed to this event grid topic. When I publish the app to Azure and run it remote…
0
votes
1 answer

Unauthorized error send message from function app to eventgrid with Role Based Access for Event Grid Send

I have a function app with a function that sends message to event grid. A function in this same function app is subscribed to this event grid topic. I get unauthorized access to send message despite function app has set role based access for Event…
0
votes
2 answers

Hide tables from users upon creation in snowflake

Can we hide tables from users upon creation in Snowflake? Can we setup an access control rule using wildcards on table names? Ex: revoke access to users if table name like '%ETL_TRANSIT%'? OR When creating a table/view, do we have an option to…
0
votes
1 answer

Azure storage add role assignment AD group via nodejs

How do I add a new role assignment to an Azure Storage Blob Container where the role is Reader and the member is an Azure AD Group via javascript/nodejs? I cannot seem to find which SDK to use. I found this page, but not sure if it the correct one…
0
votes
0 answers

Spring Cloud Dataflow RBAC with Azure Active Directory RBAC

We are currently working on a POC of Spring Cloud Dataflow, deployed in an Azure Kubernetes Service. One of our requirements is to integrate it with an Azure Active Directory. The authentication part went smoothly, but for the authorization, we need…
0
votes
1 answer

No index signature with a parameter of type 'string' was found on type 'Query'

I'm using accesscontrol npm package for RBAC(role based access control) in my api this is my code for checking if the user has permission on resource or not: export const checkUserPermission = async ( req: Request, role: string, …
0
votes
2 answers

Difference between various contributor roles available in Azure and how to use it effectively?

There are different type of contributor roles in Azure. If I'm giving "contributor" role at resource group level, and that resouce group has SQL Server, Storage and other resources as well. Is it that, someone having "contributor" role to the…
AskMe
  • 2,495
  • 8
  • 49
  • 102
0
votes
0 answers

EKS cluster not accessible from an EC2 instance in different account

I've created an EKS cluster with an IAM role and I'm trying to access the cluster from my CI build agent which is present in a different account. My CI build ec2 instance is not being to able identify the EKS cluster when I attach an Instance…