wiki:WebAdminAPI
close Warning: Can't synchronize with repository "(default)" (/usr/local/svn/deb2-client does not appear to be a Subversion repository.). Look in the Trac log for more information.

Version 8 (modified by Adam, 15 years ago) (diff)

--

Documentation for the DEB Web admin interface

Add/Edit? user

Request: servername/admin

POST parameters:

  • login: username
  • action: edituser
  • new: set to 1 when creating new user, empty when editing existing user
  • api: 1
  • callback: JSONP callback (optional)
  • email: e-mail
  • pass: password (for new users: will generate random, if left empty)
  • name: full name (optional)
  • org: organization (optional)
  • addr: address (optional)
  • service and dictionary access
    • for each service, user should have access to, set: serv_[servicecode] to on
    • for each dictionary in service, set: dict_[servicecode]_[dictionarycode] to r (for read-only access) or w (for write access)