GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Gantry::Control::C::Pages(3) User Contributed Perl Documentation Gantry::Control::C::Pages(3)

Gantry::Control::C::Pages - Page based control adminstration.

  use Gantry::Control::C::Pages;

This module is the frontend for the Gantry::Control::Authz::PageBased authentication handler. One would specify pages as well as the permissions with this frontend module.

Sample Apache configuration.

  <Location /admin/pages >
    SetHandler  perl-script
    PerlSetVar  title   "Page Accesst: "
    PerlSetVar  dbconn  "dbi:Pg:dbname=..."
    PerlSetVar  dbuser  "<database_username>"
    PerlSetVar  dbpass  "<database_password>"
    PerlSetVar  dbcommit  off
    PerlHandler Gantry::Control::C::Pages
  </Location>

This is the auth_pages table that is used by this module. It also uses the auth_users and auth_groups tables for reference.

  create table "auth_pages" (
    "id"            int4 default nextval('auth_pages_seq'::text) NOT NULL,
    "user_perm"     int4,
    "group_perm"    int4,
    "world_perm"    int4,
    "owner_id"      int4,
    "group_id"      int4,
    "uri"           varchar,
    "title"         varchar
  );

Gantry::Plugins::CRUD callback.
Gantry::Plugins::CRUD callback.
Called by Gantry handler.
Called by Gantry handler.
Called by Gantry handler.
Called by Gantry handler.
Gantry::Plugins::CRUD callback.
The form description.
Gantry::Plugins::CRUD callback.

There is also one method designed to be called by template wrappers.

Returns site nav links and their text.

Gantry::Control(3), Gantry::Control::C::Users(3), Gantry::Control::C::Groups(3), Gantry::Control::C::Authz::PageBased(3)

Tim Keefer <tkeefer@gmail.com> Nicholas Studt <nstudt@angrydwarf.org>

Copyright (c) 2005-6, Tim Keefer.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available.

2025-07-15 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.