WARNING LocalSite.cfg could not be found (This is normal for a new installation)
This Foswiki is running using a bootstrap configuration worked out by detecting the layout of the installation. To complete the bootstrap process you should either:
  • Restore the missing LocalSite.cfg from a backup, or
  • Complete the new Foswiki installation:

You have been logged in as a temporary administrator. Any requests made to this Foswiki will be treated as requests made by an administrator with full rights Your temporary administrator rights will "stick" until you've logged out from this session.

PerlDoc

See PublishedAPI for packages intended to be used by Plugin and Contrib authors, or browse all packages.
See also Developing plugins, Developer's Bible, Technical Overview


Parent package: Foswiki::UI
Child packages:

    SMELL / FIX / TODO count: 9

    internal package Foswiki::UI::Register

    User registration handling.

    StaticMethod register_cgi( $session )

    register command handler. This method is designed to be invoked via the UI::run method.

    SMELL: verify that someone is logged in, and they are allowed
    SMELL: is this used any more? It should be going through manage.

    StaticMethod bulkRegister($session)

    Called by ManageCgiScript::bulkRegister (requires authentication) with topic = the page with the entries on it.

    NB. bulkRegister is invoked from ManageCgiScript. Why? Who knows.

    TODO: should check that the header row actually contains the
    TODO: and consider using MAKETEXT to enable translated tables.
    SMELL: Field Validations
    SMELL: used for Register unit tests

    StaticMethod deleteUser($session)

    CGI function that deletes the current user Renames the current user's topic (with renaming all links) and removes user entry from passwords.

    NB. deleteUser is invoked from the manage script.

    StaticMethod addUserToGroup($session)

    adds users to a group
    • groupname parameter must a a single groupname (group does not have to exist)
    • username can be a single login/wikiname/(cuid?), a URLParam list, or a comma separated list.

    NB. Invoked from the manage script

    StaticMethod removeUserFromGroup($session)

    Removes users from a group
    • groupname parameter must a a single groupname (group does not have to exist)
    • username can be a single login/wikiname/(cuid?), a URLParam list, or a comma separated list.

    NB. Invoked from the manage script

    SMELL: should give consideration to disabling
    TODO: should really tell the user too?
    SMELL: this means we fail hard if there are 2 FORMDATA vars -

    StaticMethod expirePendingRegistrations()

    This routine expires registration files. This is called by tick_foswiki to expire stale registrations.

    _processDeleteUser()

    Removes the user from the installation.

    Topic revision: r1 - 15 Mar 2026, UnknownUser
    This site is powered by FoswikiCopyright © by the contributing authors. All material on this site is the property of the contributing authors.
    Ideas, requests, problems regarding Foswiki? Send feedback