Forums

User Access Groups

dalbeck 25 Mar, 2008
I was looking for a feature where you would be able to select from your current Access groups to only display that form on a page. An example is right now I have a list of departments for absentee request forms, but it would be better I think if it only displayed there form for there respected department when they open taht page based off of there group.
GreyHead 26 Mar, 2008
Hi dalbeck,

No 'feature' but easy enough to do it in code if you know how to identify which group the user is in:
<?php
switch ( $user_group ) {
  case 'this_group':
    // do this
  break;
 
  case 'that_group':
    // do that
  break;

  case 'other_group':
  default:
    // do other

  break;
}
?>
Bob
This topic is locked and no more replies can be posted.