November Happy Hour will be moved to Thursday December 5th.

Missing groups in access rights on content?

Vote:
 

Hi!

Under Administer groups I have four groups added from an active directory but when setting access rights on content from either the content it self or Set access rights the groups are no where to be found?
How can I get the AD groups accessable for content?

Thanks!

/Kristoffer

#333478
Edited, Nov 26, 2024 21:18
Vote:
 

Short answer, you won't, not without coding anyway. Roles are virtual since cms 12 and you map them to your incomming role claim. It's all in here, https://docs.developers.optimizely.com/content-management-system/docs/virtual-roles

#333514
Nov 27, 2024 7:16
Vote:
 

I cannot find any good example how to get AD groups selectable for content. Do you have any good example? I'm not sure the documentation covers it all?

Thanks!

/Kristoffer

#333555
Nov 28, 2024 22:23
Vote:
 

What auth are you using? E.g OpenID

#333597
Nov 29, 2024 8:09
Vote:
 

Old school Windows Server Active Directory

#333598
Nov 29, 2024 8:48
Vote:
 

Assuming you have implemented a regular .AddNegotiate(...) 

services.AddCms().AddAuthentication(options => 
{
   options.DefaultScheme = IISDefaults.AuthenticationScheme;
}).AddNegotiate(options =>
   options.Events = new NegotiateEvents() {
      OnAuthenticated = async context => 
      {
        //... sync your roles here
        // E.g. services.AddVirtualRole
      }
   }
);

You'll still need to create classes for the virtual roles that the adgroups should map to. To my knowledge there isn't a more dynamic way to do this.

#333712
Dec 02, 2024 7:45
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.