3,452 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
-3
votes
0
answers
43
views
Roles and permissions in laravel [closed]
this is my first time coding roles and permissions, please review my code . :)
I mostly followed a guide on Spatie roles and permissions but after the tutorial I did give it to ChatGPT for some review ...
1
vote
1
answer
94
views
What is the difference between session_authorization and set role
In Postgres, you can set current_user by:
set session_authorization = 'new_user';
and
set role 'new_user';
While I like the shorter syntax, I'm asking if there is a difference in functionality ...
0
votes
1
answer
82
views
Laratrust role not updating until php artisan optimize:clear
I’m using Laravel 11 with Laratrust v8.3, and I’ve noticed something strange on my production server.
When I assign or update a user’s role, it doesn’t take effect immediately — the user still has the ...
1
vote
1
answer
63
views
Discord.js "guildMemberUpdate" event only fires the second time i change a Nickname
The Issue:
I wanted to create a feature where the bot sets a certain prefix before the Nickname fitting my discord server theme if a user decides to change it. I'm allowing the users to change their ...
0
votes
0
answers
74
views
Openstack Kolla custom domain admin role
I am busy testing out openstack using the kolla-ansible deployment, version 2025.1. I want to use multi-domain which I have enabled and that works. I then wanted to try creating a user in a domain ...
1
vote
2
answers
114
views
Laravel Spatie Role/Permission - Integrity constraint violation: 1048 Column 'team_id' cannot be null ---> insert into model_has_roles
I am using Laravel V:12 and Spatie Role/Permission V:6. for multiple roles (super_admin, sub_admin, user, sub_user). I created one seeder for creating an admin user and its role/permission.
At the ...
1
vote
1
answer
123
views
Azure won't show roleDefinition for directory roles
I'm using the following API, it works with regular roles such as "Reader":"acdd72a7-3385-48ef-bd42-f606fba81ae7".
az rest --method get --url 'https://management.azure.com/providers/...
1
vote
1
answer
44
views
JWT and roles per team
I have an authorization scheme for a user. This particular user is member of multiple teams.
In the team MANAGEMENT the user has the role EMPLOYEE
In the team LOCATION_1 the user has the role MANAGER
...
0
votes
0
answers
52
views
Http Error 401 Error Contact the Site Owner [duplicate]
I am shown the error: This page isn’t working right now If the problem continues, contact the site owner. HTTP ERROR 401 in my Asp.Net Core Application. I am using JWT Authentication in my Asp.Net ...
1
vote
1
answer
89
views
How to Implement Role-Based Routing in Flutter with JWT Authentication?
I am a beginner in mobile development using Flutter, and I want to set up role-based routing for my app by creating a separate routing file in Dart. My app uses JWT authentication, and the token is ...
0
votes
1
answer
41
views
Unexpected Redirect to /home in Laravel Multi-Guard Auth - Route Not Working (302)
I'm facing an issue with my multi-guard authentication setup in Laravel involving impersonation. I have four guards defined: admin, distributor, customer, and user. My system allows a customer to ...
0
votes
0
answers
124
views
Configuring apache superset with postgres with role and schema
I am trying to configure apache superset with PostgreSQL as metadata database. I provided below sqlalchemy URL:
SQLALCHEMY_DATABASE_URI = "postgresql://superset_user:password@db_host:5432/...
1
vote
1
answer
125
views
User's role switches to "None" from "Administrator" on login [closed]
Whenever some users (but not others) log into a WordPress website, their role changes from "Administrator" to "None". Their first name, last name, and nickname also get set to ...
0
votes
1
answer
388
views
Role switch option not present for AWS management account
I am trying to role switch to member account of the organization using my AWS management account. But the role switch option not present as shown in screen shot below.
As you can see this is my ...
0
votes
0
answers
112
views
Role definition in powerbi using TMDL
I am getting and error when defining a new role in powerbi using TMDL:
createOrReplace
role roleName
modelPermission: read
member userName
memberId: '203'
...