963 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
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 ...
2
votes
2
answers
92
views
Disable multiple product variations conditionally based on user role in WooCommerce
I have product variations for attribute "Lizenz" with 3 values:
Variations with "mini"
Variations with "pro"
Variations with "business"
Also 3 corresponding ...
0
votes
0
answers
226
views
How to restrict Snowflake users to the default warehouse of their selected role while maintaining inherited permissions
I'm working with role inheritance in Snowflake and have a specific requirement around warehouse usage that I can't figure out.
Setup
Two roles: CC_ROLE and USR_ROLE
Two warehouses: CC_WH and USR_WH
...
0
votes
1
answer
62
views
Sending an email notification when a user role is approved in Wordpress
I try to send an email notification when a user which asked for "pro" role is validated by the admin.
Note that the user has already received a pending email notification from another plugin....
0
votes
0
answers
31
views
Role level security in powerpages portals
How can I implement row level security in powerpages pages with usernames.
I tried setting tables and list permissions to contact access and creating a many to one relationship between the fact table ...
0
votes
3
answers
116
views
How to update user role after woocommerce order for a free item
I am trying to create a function to add a new user role to any customer who purchases a specific item via Woocommerce.
I have the following code which achieves this with a paid product, however, the ...
0
votes
0
answers
31
views
How do I restrict access to specific pages based on a role system in a flask webapp?
I saw that some people use Flask Principal for that matter and tried that. How ever I'm new to Webdevelopment and have problems to figure out how the extention works. here is what I got so far:
In the ...
0
votes
0
answers
49
views
Should security roles ever negate or remove functionality or should they be additive only?
In my experience I believe that security roles in a software system where:
A user can have multiple roles and...
Roles can be included in groups (where groups are assigned to users)
...should only ...
0
votes
1
answer
234
views
How to change author list in Authors dropdown in edit page display all user role if user logged as admin type of role
Author dropdown
I am using classic editor and in edit page herer is a 'Author' dropdown and I want to modify value of this edit page (post type = 'page') authors dropdown. I want to show all users in ...
0
votes
1
answer
55
views
Creating a Discord Role Bot, goes online fine, but won't actually update the roles
I am currently programming a rolebot for a small community discord server as a means to learn python 3 and the Discord library as a whole. I've mucked around all over the internet trying other ...
0
votes
1
answer
105
views
Saving custom roles in AspNetUserRoles Identity table from ASP.NET Core 8 Web API
I am trying to develop a backend ASP.NET Core 8 Web API for an Angular and .NET Core based web application. I have created the Identity tables in my SQL Server database using code first migration.
The ...
1
vote
1
answer
233
views
Assign a Custom User Role Upon WooCommerce Subscription Activation
In WooCommerce, I need to automatically assign a custom role ("Active Production Company") to users upon their subscription becoming active. The role assignment will allow only active ...
0
votes
1
answer
176
views
How to load user roles from Database and assign to user in blazor wasm
I have a Blazor WebAssembly (WASM) app hosted in ASP.NET Core that authenticates users using default ASP.NET Core Identity.
In the server project in Program.cs, I have this code:
builder.Services....
1
vote
1
answer
190
views
How can I display all orders to Shop Managers on front-end in WooCommerce?
I'm working on a portal (it's proof of concept) that allows Shop Managers to approve or reject an order when they review it. To approve the order, the Shop Manager adds a Purchase Order number and ...
2
votes
0
answers
181
views
Set a different tax rate for specific products and user role in WooCommerce
I have a problem with WooCommerce taxes.
I need to add a new 8% tax before the total price to certain products only for a specific role, 'different_user'.
Other products already include other taxes ...