Companies

Users

Company parts

  • Register
    • Company
    • Employee
  • Member
    • My company
    • welcome after login
  • Admin
    • Companies
    • Public groups

Includes

  • register
  • delete
  • login
  • logout

Data access methods

Methods:

  • 4: exist companyID
  • 5: exist companyID and creatorID

Roles

Roles:

  • 19: read and login
  • 6: employee
  • 7: admin
  • 30: create standard
  • 31: create special

Default rights

!!!

Variables

!!!

Programm code for company events

  • Register
    • company
    • employee
  • Login
  • Logout
  • Delete
    • company
    • motion data

In the datadefinition: k8companyemployee the default values for the roles are set. After saving them the SESSION is updated.

Register

masterdata/k8companyemployee/k8companyemployee.json:

In the datadefinition: k8companyemployee the default values for the roles are set. After saving them the SESSION is updated.

Delete

datadefinition: k8company

k8companyMethod.php:

  • process_action=
    • deleteCompany
  • mode=
    • 0: company
    • 1: motion data

Tables

To clean company tables, add them in:

  • $tables_motiondata
  • $datadefIDs_motiondata
  • $tables_masterdata
  • $datadefIDs_masterdata

k8login

Logins are delete, if they are not member of another company

Login / Logout

!!!

Public groups

datadefintion: k8pubs

Public groups:

  • countries
  • languages