Our siteminder implementation is linked with an Active Directory, so headers assigned by siteminder come from the AD info. this includes the groups the user belongs to. It would be great if drupal admins could take a 'siteminder_groups' (or similar) header, break the values down & assign drupal roles based on the existence of data in the header data.

That being said, the attached patch provides a module that does exactly that. When enabled, it hooks in to the siteminder profile configuration screen and adds a selection field to select which header has the group level information, and provides a text field to take the delimiting character of the data. Once this is done, a textfield is created for each drupal role so that admins can choose which 'groups' they want that role to be assigned for.

the roles/permissions assigned are assigned at runtime on the page, so if the header changes for the user any role changes will happen immediately.

CommentFileSizeAuthor
#1 siteminder_roles.patch4.43 KBnetw3rker

Comments

netw3rker’s picture

StatusFileSize
new4.43 KB

of course.. if you preview a post with a file attached, it doesnt preserve it once you hit save... so now, attached... is the actual .patch file :)

kenorb’s picture

Issue summary: View changes
Status: Active » Needs review