Skip to main content
OCLC Support

Option MenuByGroups

Option MenuByGroups specifies that the EZproxy Menu Page should only display database stanzas that match the groups assigned to the user. This option allows the EZproxy Menu Page to automatically adjust based on the resources available to the user.

Normally, only authenticated users can view the EZproxy Menu Page. If Option ExcludeIPMenu is activated and an unauthenticated user access the EZproxy Menu page from an IP address that is an excluded address, then the user will see all database stanzas regardless of group assignments on the stanzas.

Option MenuByGroups is a non-repeatable position-dependent config.txt directive.

Syntax
Option MenuByGroups
Example
Specify that the menu should be limited by group membership and create two database stanzas with varying group assignments. A user assigned to the Students group will see both database stanzas in the EZproxy Menu page, whereas a user assigned to only the Alumni group will only see the first database stanza.
Option MenuByGroups
Group Students+Alumni
Title Some Database available to students and alumni
URL http://www.somedb.com
D somedb.com
Group Students
Title Other Database limited to students
URL http://www.otherdb.com
D otherdb.com
Related directives
ExcludeIP, Option ExcludeIPMenu, Title, Groups
  • Was this article helpful?