× " id="k8-modal-content" alt="modal">

Companies

Happy company

Company parts

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

Includes

  • register
  • delete
  • login
  • logout

Company registration

Register company

Fields:

  • company name: the name of the company
  • username: this user is the admin of your company
  • email: for the moment no verification necessary!
  • password: don't forget it!

The domain include file for company register is called. So necessary tables can be filled.

Employee registration

Register company

A check for an invitation is done and the employee is automatically add to the company.

file: ???

login / logout

Company affiliation is being verified. The Session variable "companyID" is set.

by login the include file is call

My email configuration

My email templates

My company

Company address

Company

Funktionen:

  • Email Zuordnung
  • Delete company
  • Delete motion data
Employees

Employee

User name

Internal name

Email invitation

Email designation

Roles

Technical details

'companyemployeeroles'=>array(6,7,25,32),

Attention blocked

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

!!!

Programm code for company events, domain_includes

config/_init.php, domain_includes:

This are the supported events:

  • head
  • Register
    • company
    • employee
  • Login
  • Logout
  • Delete
    • company
    • motion data
  • RBAC
    • Read
    • RUD
    • CUD

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

RBAC

!!!

Public groups

datadefintion: k8pubs

Public groups:

  • countries
  • languages

Variables

!!!