Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
24 views

Trying to generate the DDL for a Snowflake readonly (for starters) ROLE

Experienced TSQL user but a Snowflake newbie. I'm trying to generate the DDL for a readonly ROLE that I've inherited and since GET_DDL() doesn't work on roles, this is what I'm attempting. Will ...
user2034448's user avatar
0 votes
1 answer
49 views

Permissions required to add and remove servers from Azure maintenance configuration

We use maintenance configurations as part of our Azure update manager configuration. For Azure VM's is there any role other than granting contributor role permission to the azure subscription that ...
Danny Coyles's user avatar
0 votes
0 answers
19 views

EKS:Create Cluster -- ClientException: You are not allowed to pass the role

EKS:Create Cluster -- ClientException: You are not allowed to pass the role I'm facing an error when I create a resource with Tofu. I've checked all policies, and no one policy denied the request. ...
Jesaya Fernando Napitupulu's user avatar
-2 votes
0 answers
29 views

WooCommerce - filter orders list in admin by order status for a specific user (or role)

I need to give access for my delivery man only to orders that have 'out for delivery' status. I didn't find any plugin (like User Role Editor) that can do that. And second problem : that filter on ...
Flagger's user avatar
1 vote
1 answer
42 views

@RolesAllowed in Apache CXF

I'm trying to migrate a JAX-RS application from Jersey to Apache CXF. I'm not using Spring, so I'm trying to configure it by extending javax.ws.rs.core.Application. I also implemented public class ...
Adrian Ber's user avatar
  • 21.3k
0 votes
1 answer
36 views

Problem: Managing Multiple Roles for Users in a Fullstack Project [closed]

I’m working on a fullstack project where I need to handle users with multiple roles. In my current setup, I have three main roles: client, recipient (destinataire), and administrator. The challenge I'...
Just Relax قناة هدوء's user avatar
0 votes
1 answer
64 views

I'm unable to add role assignments

I don't know how to solve this: The client 'live.com#[email protected]' with object id 'xxxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' does not have authorization to perform action 'Microsoft.Authorization/...
naveen ashwin's user avatar
0 votes
1 answer
149 views

How to revoke warehouse priviledge for role in Snowflake

I am trying to run query while selecting role AP_KPO_ANL with warehouse OP_WH. But now i created another new warehouse and grant role access to this new warehouse. Now i want to revoke access for ...
Marcus's user avatar
  • 3,859
1 vote
1 answer
63 views

How to create Postgres role that is not "on" by default

I'm trying to create a role that is not "on" by default but needs to "turn on" by SET ROLE command. I thought NOINHERIT would be the thing but this is not working (in Postgres v. ...
tok's user avatar
  • 961
1 vote
1 answer
114 views

Flask Security Permissions of Roles

Flask Security offers a role system, a user can be assigned one or more roles. Similar to the login with @login_requiered, there is a @roles_required('Admin'). In Flask Security there are also ...
risiko24's user avatar
0 votes
1 answer
62 views

In Azure AD B2C, is it possible to edit the User's (Custom) Attribute on the Azure Portal?

Here is my scenario: I have a Portal service where User's can create account. Their default 'Role' is User. In my portal, I have an Admin portal that allows Admin Users to create other Admin Users (...
KevinG's user avatar
  • 113
1 vote
2 answers
55 views

Which role is responsible for performing `ON UPDATE SET DEFAULT` in PostgreSQL

In PostgreSQL I create table A referencing table B by FK with constraint option ON DELETE UPDATE SET DEFAULT. If the referenced record from table B is deleted, the physical change of the original FK ...
pink_daemon's user avatar
0 votes
0 answers
28 views

Keycloak: Mapping different client roles to AD-Group-Member?

I have a keycloak setup where I synch AD-Group-Memberships into my Realm. When I create a role mapping for an AD-Group, that role gets added to the tokens of every client. role mapping using client ...
Ollowain's user avatar
0 votes
1 answer
196 views

ASP.NET Core 8 + Keycloak: Role-based Authorization for Derived Controllers without Code Duplication

I'm working with ASP.NET Core 8 and Keycloak (version 24) for authentication and role-based access control. Scenario: I have a base controller that implements basic CRUD operations for multiple object ...
Jonas Strt's user avatar
0 votes
0 answers
42 views

AWS Role Assume Role Temporary Access with JavaScript for backend

In the past I open an minio client inside my JavaScript app with a technical user to access S3. This was working very good. Now I want ot make the app more secure. My app is running inside a ECS ...
IFThenElse's user avatar
1 vote
0 answers
111 views

Why one superuser cannot use GRANT in Postgres 16

Postgres 16 has user ingmar which is marked as superuser and has create role rights: CREATE ROLE ingmar WITH LOGIN SUPERUSER INHERIT CREATEDB CREATEROLE NOREPLICATION BYPASSRLS ...
Andrus's user avatar
  • 27.7k
0 votes
0 answers
28 views

Methods to add role attributes to tokens in Keycloak

I'm using Keycloak version 25.0.4. I created roles for Clients and added Attributes as key-value pairs to those roles. However, in the token, only the roles are passed as an array, and the Attribute ...
Juhui Kim's user avatar
0 votes
0 answers
14 views

User Access Roles deleted once anograph was restarted

I have installed anzograph 3.1 with frontend. I have created users and assigned them roles. When anzograph was stopped and then started using below commands sudo systemctl stop anzograph sudo ...
user27080506's user avatar
0 votes
2 answers
72 views

Translating a custom user role name in WordPress

I created a custom user role in WordPress: add_role('warehouse', 'Warehouse', get_role('administrator')->capabilities); How to add translations for the role name so that it shows up in admin ...
Pavol Eichler's user avatar
0 votes
1 answer
126 views

Manage role's resources in Entra ID - Azure Portal

I'm building a React web app, and I'd like to manage the role access with Entra ID. In Entra ID you can add a new App Registration and into it, create App Roles to later assign to users (in App ...
Andrés Bello's user avatar
0 votes
0 answers
46 views

Introducing custom-role in my Django based E-commerce application

I completed finish my Django E-commerce web-application. And now I want to add the facility of customer roles(admin,staff,merchant,customer). I'm having problems configuring this with my project. I'd ...
Navin-AmriSystems's user avatar
1 vote
1 answer
55 views

Assign different permissions to multiple users having same role in C#, Asp.net boiler plate

I am using ASP.NET Boilerplate. I have defined a role named Customer and assigned many permissions to this role such as Create company and Delete company. However, I want to give the user the ...
user26326597's user avatar
0 votes
0 answers
28 views

Limit a user/role to not see the list of other users through snow sight - Users and Role section

Is there a way we can limit a user or a role to not see the list of other users through snow sight - Users and Role section. Also, is there a way we can limit user to not have Public Role and only ...
Gaurab Pathak's user avatar
0 votes
1 answer
147 views

How to pass context from a command to the callback in discord.py

Partially Finished Product So, essentially, I am trying to create a discord bot that will allow a staff member to request a role. That request will then be sent to an admin-only text channel with a ...
John T's user avatar
  • 13
0 votes
1 answer
61 views

Two PUBLIC Views in Stored Procedure - One Succeeds, One Errors?

If user A creates a view and grants READ on it to PUBLIC. SQL>create view A.a_public as select 3 id from dual; View created. SQL>select * from A.a_public; ID ---------- 3 SQL&...
Alex Bartsmon's user avatar
0 votes
1 answer
248 views

Problems with urls at Laravel 11

I have been having problems for a few days regarding access to routes defined for my middlewares. The specific problem with all this is that when, for example, I want to enter a URL of my entity other ...
Carlos Gutiérrez's user avatar
0 votes
1 answer
139 views

Initializing roles in .NET 8 Blazor web app

I am trying to initialize roles for my Blazor app. This is my service that should create roles if they don't exist: using Microsoft.AspNetCore.Identity; namespace FoodApp.Services { public class ...
Tomm's user avatar
  • 1
0 votes
0 answers
16 views

Django + VueJS multiple user type

I'm having a problem in Vue.js with handling multiple users. Before transitioning to this integration, my previous authentication used mixins to handle privileges for each user. Now, I want to use Vue ...
VILLAREAL GRANT GIL A.'s user avatar
0 votes
2 answers
151 views

roleDefinitions for Bing resource

I want to grant AppService access to a Bing resource (Microsoft.Bing/accounts@2020-06-10). Which role (Microsoft.Authorization/roleDefinitions) should I set in Bing's IAM (Microsoft.Authorization/...
Kuniyoshi KAMIMURA's user avatar
0 votes
0 answers
23 views

Assigning roles with additional attributes Keycloak

Imagine I have a role “Mayor”. Now I want to assign this role to my users mentioning which city this user is its mayor. For example: user A is the mayor of city C1 user B is the mayor of city C2. I ...
Toami's user avatar
  • 3
0 votes
0 answers
230 views

How to create a custom role with specific permissions in Airflow using AirflowSecurityManager or other?

I'm currently working on a project where I need to create custom roles with specific permissions in Apache Airflow. I have a dictionary that contains the role names and their corresponding permissions....
Náthali's user avatar
  • 937
0 votes
0 answers
97 views

Datasource access Superset

I have Superset version 2.1.0 I need to give access to group of people on particular dashboard I have an issue while giving access to gamma role on particular dataset (because there is no opportunity ...
user25307568's user avatar
0 votes
0 answers
35 views

How can I change the Default Profile Photo depending on the role

I set up the Default Profile Photo from ultimate members -> Settings -> Appearance -> Profile -> Default Profile Photo But this option will set a profile photo for all the roles. How can I ...
nourza's user avatar
  • 2,321
0 votes
2 answers
330 views

Can't drop role due to dependencies

I'm new to Postgres, and I want to delete a role named rp_ts04, but it complains about dependencies. I don't know how to check for these dependencies. I've checked information_schema but it doesn't ...
Duong's user avatar
  • 505
0 votes
0 answers
43 views

How to merge roles in Postgres?

In my database I have two distinct roles which have no special attributes and thus do not inherit. They act as (RBAC) permissions, and there are policies for each permission on multiple tables. How ...
Code4R7's user avatar
  • 2,916
-4 votes
1 answer
28 views

Hide Specific Div class for Specific User Role

I'm looking for a function that can hide the div class #header_aside from all users that are 'Employer'. Is someone able to help me with that? I tried a few different functions online but they haven't ...
user3275900's user avatar
0 votes
1 answer
259 views

Manage Access to file shares Azure

I created a file share system with 9 file shares that go to different people. I can't limit access or specify who should have access to what. I've read a bunch of documentation, but I don't think I ...
Gabgon's user avatar
  • 1
0 votes
0 answers
14 views

Error in IF statement - coding a discord bot in python

First time asking a question on here, so please bear with me. I am writing a discord bot, and need users to input at least 2, and up to 10 teams for an attendance type check-in. The code/bot works ...
Frans Welthagen's user avatar
0 votes
1 answer
56 views

Snowflake SQL to Create Roles and SQL Statements. , facing unexpected <EOF> or unexpected 'END'

We intend to dynamically create roles based on SF metadata. Preferably through a Stored Procedure. However, we are struggling to debug and spend way too much time investigating error codes that SF ...
user24892220's user avatar
0 votes
0 answers
24 views

RBAC system that lets you pick what role you want to log into?

I'm working with a system that asks you to select which role you want to use when you log in. Is there a name for this approach? (The other RBAC systems I've worked with simply give the user the union ...
Matt Chambers's user avatar
0 votes
2 answers
207 views

How to check future ownership in Snowflake Database objects?

I'd like to understand the roles assigned future ownership of database objects in Snowflake. For instance, let's say I have a database called 'DB' and a role named 'Role_1,' which currently has ...
Nikhil Suthar's user avatar
0 votes
1 answer
80 views

How do I know a function is a service role?

When adding a service role to a user for example: AccessAnalyzerServiceRolePolicy, I am getting the error: Failed to add permissions to davidh38 Failed to add AccessAnalyzerServiceRolePolicy to user. ...
David's user avatar
  • 2,998
1 vote
0 answers
91 views

Access to S3 in root and child account through roles

We have a root AWS account and a child account for another application called prod. I want to give IAM users Full S3 Access to all the buckets in both the root account and the prod account. In order ...
ShwetaJ's user avatar
  • 519
0 votes
1 answer
199 views

Assigning manage-users role to confidential client with Keycloak

I've been trying to assign some management roles to the service account of a confidential client that I've set up, however it seems like I've probably set up my call wrong, since I'm getting a 404 ...
string_loginUsername's user avatar
1 vote
1 answer
405 views

Snowflake stored procedure, tasks and ownership

I have a task on Snowflake that calls a stored procedure. This stored procedure has been defined as executed by the caller. The task which runs the stored procedure, in turn, has been created with ...
Estrobelai's user avatar
0 votes
0 answers
33 views

How do I ensure that roles are assigned correctly during the login process?

In my Next.js project I am developing an application that handles two types of users, therapists and users. I use NextAuth to allow login with Google (this only has the role of user), but an ...
isafranco_13's user avatar
0 votes
1 answer
362 views

Cypher Queries in NEO4J Community Edition: Not able to create the Roles,Attach the Roles to Users,Add the Database Permissions(i.e. read) to the Roles

I am using the NEO4J community edition but am having issues with some cypher queries I am not able to grant the roles because the GRANT command is not working. I am not able to create the roles in ...
sriram mogalapalli's user avatar
0 votes
2 answers
165 views

Ansible role variable is not defined

I can't user defined variable in ansible role for example vars/main.yaml --- hub: app_disk: sdb size: 40 vg_name: vg1 And I've tried to refer to that variable in tasks as : - name: debug ...
Jawor's user avatar
  • 1
1 vote
1 answer
188 views

Hierarchical roles for a user, with child roles having different permissions on case based, Laravel Spatie

In the application I am trying to build, I have two portals one for Admins and one for Users. As in a normal case scenario, I might have different Roles for the Admin portal, i.e., Super Admin, Admin, ...
J A's user avatar
  • 13
0 votes
0 answers
84 views

how to use two roles as a and operator in cerbos

I am using Cerbos (https://www.cerbos.dev/) to implement user permission level, I have defined a derived role like this: description: |- Lending abc derived role derivedRoles: name: ...
Fazla Elahi Md Jubayer's user avatar

1
2 3 4 5
62