NAME

RDF::Base::User

DESCRIPTION

Inherits from Para::Frame::User

This class doesn't inherit from RDF::Base::Resoure. But see RDF::Base::User::Meta.

Resources, when initiated, will be placed in the right class based on the class_handled_by_perl_module property. Since a resource can have multiple classes, the class in itself can not inherit from RDF::Base::Resource. The resource will be placed in a metaclass that inherits from this class and from RDF::Base::Resource.

The RDF::Base::User::Meta is used during startup. It is listed in %RDF::Base::LOOKUP_CLASS_FOR to make it be reblessd in the right metaclass based on the nodes other possible classes. See RDF::Base::Resource/get.

For subclassing, create both the subclass (RDF::Guides::User) and also a sub metaclass that inherits from it and from RDF::Base::Resource (RDF::Guides::User::Meta). Set Para::Frame/user_class to the meta class but point to the subclass in RDFbase with the property class_handled_by_perl_module for the resource representing the user class.

get

This will call back to RDF::Base::Resource/get.

init

This is first run *before* constants initialized.

username

id

name

node

level

  $node->level

See Para::Frame::User/level

Returns: The level

find_by_anything

Called by RDF::Base::Resource/get that gets called by Para::Frame::User/identify_user.

Supported args are:

  arclim

verify_password

has_root_access

set_default_propargs

For the current request

default_propargs

For the current request

on_arc_add

on_arc_del

clear_caches