Questions tagged [role]

396 questions
2
votes
2 answers

Writing Custom Roles Provider For Master Pages/No Machine.Config

I'd like to write a custom role provider for my application, which has existing users and roles tables. I'm looking for a reference on that, which: doesn't require machine.config changes (I see this a lot in custom role architectures), supports…
Caveatrob
  • 12,667
  • 32
  • 107
  • 187
2
votes
3 answers

JasperServer ROLE problems

I have started work on JasperServer community edition for my client. The problem I face is After creating a new role eg "TEST_ROLE" Creating a new user "LADY_GAGA" and assigning the user role as "TEST_ROLE" I am getting an error that states…
Vinoth
  • 1,339
  • 6
  • 23
  • 42
2
votes
1 answer

set up different roles for a user in group versus specific project

In gitlab, I have a team member who has the general role of developer. I'd need to make him a maintainer for a specific project. I've looked through the documentation but I'm not finding a strait forward answer on how to upgrade his role in the…
Gio
  • 4,099
  • 3
  • 30
  • 32
2
votes
2 answers

Has_many Join table with a belongs to for admin purposes

I’m writing a rails calendar app for planning a social media editorial calendar. My relationships are: User has_many Calendars, Calendar has_many Users I’m trying to implement a calendar admin where the calendar also belongs to admin. The admin is…
Alli T
  • 19
  • 3
2
votes
3 answers

Teamcity NTLM Authentication change - admin user lost in transition

I've switched in teamcity from using basic authentication to using NTLM, on an existing installation. This works fine, except that the admin user didn't have a corresponding NT account, and so doesn't work on the NTLM configuration. (It is easy to…
hawkeye
  • 34,745
  • 30
  • 150
  • 304
2
votes
1 answer

How to control access control?

I have asp.net project which has got GridViews, Buttons, Navigators etc... I have 10-15 role types. For example: Access Management must be: Products.aspx RoleType1 can see GridView1, Gv2, Gv3(But can not see Gv3's column2) RoleType2 can see…
Penguen
  • 16,836
  • 42
  • 130
  • 205
2
votes
2 answers

Send Email from worker role (Azure) with attachment in c#

I am trying to send an email(in c#) from worker role(Azure) with an attachment(from blob storage). I am able to send an email but attachment(word document) is blank. The following function is called from worker role. public void sendMail(string…
simplyvaibh
  • 21
  • 1
  • 3
2
votes
0 answers

ASP.Net Web Api 4.5.2 using UseJwtBearerAuthentication, the Roles are ignored

I would like to use Roles in Azure AD. I have almost everything working, including Roles configured in the AppRegistration Manifest, etc. On breakpoint, I do see a claim "roles":["MyAdminRole"] I am trying to apply authorization on the…
Beans
  • 1,159
  • 7
  • 17
2
votes
1 answer

How to do role based authorization in Azure with Asp.net webapi backend and front end as Angular

How I can do Azure role based authentication in webapi backend. I see tons of example for Asp.net MVC but none for webapi with front end as Angular. I have hosted my website developed in angular with backend as webapi and hosted it on Azure and…
2
votes
1 answer

MVC Linq selecting a list of users with the have role of

What is wrong with my query below? This is using the standard Membership tables. var clientRole = rushDB.aspnet_Roles.Single(r => r.LoweredRoleName == "client" ); //var users = rushDB.aspnet_Users.Where(u =>…
Dang
  • 23
  • 4
2
votes
0 answers

ASP.Net User Role Hierarchy

I have in my project a user role hierarchy by pages but I need more, imagine 2 roles they can open the Adduser.aspx page they can see here packages the packages are sending by companies and the companies have a NUMBER. I will say when the user of…
Alican Kablan
  • 399
  • 8
  • 17
2
votes
1 answer

SQL Server DROP Role

I have the following in my post deployment script in Visual Studio 2013: -- Drop existing role and create again to be up to date DROP ROLE payments_data_access_role GO CREATE ROLE payments_data_access_role GO However when I publish the database…
Guygar
  • 449
  • 1
  • 5
  • 8
2
votes
2 answers

Should UML role names be reflected in class attributes?

When class is associated with another, like Flight in the linked image, which has zero or one Plane associated with it, should this not be reflected in the class' attributes? That is, shouldn't class Flight in this example have an assignedPlane…
Bovis
  • 21
  • 1
2
votes
1 answer

Apply different tax rate based on user role

I use WooCommerce and Members plugin. I have created special tax rate classes (CustomerTaxExemptTaxClass & CustomerPSTExemptTaxClass for customers who can be tax exempt or pay a certain tax only (pay only PST tax in Canada). I have created two new…
Lyse
  • 53
  • 1
  • 8
2
votes
0 answers

In LoopBack, can I reuse LDAP groups as Roles for my users?

Via Passport's plugins I am able to connect my LDAP databases to LoopBack for authentication purposes. In my current setup, I have a set of groups in LDAP that creates authorization for other services. For example, I have a chat group, which define…
Mayeu
  • 226
  • 3
  • 9