Permission system explain

Last modification: 2013-01-26 06:48:26

Permission system consists of three items.

  1. Users
  2. Groups
  3. Roles

Users can belong to n groups. Groups can belong to n Roles. Roles can have assigned custom module functions. These combination's gives very flexible permission system.

 

Users module

Users module is responsible for managing all data associated with user. It consist of these functions.

lhuser - Users, groups management
Module function Short explain Notices
groupassignuser Allow logged user to assing user to group -
editgroup Allow logged user to edit group -
creategroup Allow logged user to create group -
deletegroup Allow logged user to delete group -
createuser Allow logged user to create another user -
deleteuser Allow logged user to delete another user -
edituser Allow logged user to edit another user -
grouplist Allow logged user to list group -
userlist Allow logged user to list users -
selfedit Allow logged user to edit his own data Without this permission user will not be able to access his account data.
editdepartaments Allow logged user to edit his responsible departaments Without this permission user will not be able to edit hist responsible departaments. Assign himself to departament or remove from departament.

System module

This module is responsible for html code, expire cache, and configuration links managing.

lhsystem - System configuration
Module function Short explain Notices
use Allow user to see configuration links. -
expirecache Allow user to clear cache -
generatejs Allow user access HTML generation -

Permissions configuration

This module is responsible permissions system.

lhpermission - Permissions configuration
Module function Short explain Notices
edit Access to edit role -
delete Access to delete role -
list Access to list roles -
new Access to create new role -

Install module

This module is responsible for installing the Live Helper Chat.

lhinstall - Live helper chat installer
Module function Short explain Notices
It has no defined functions.

Frontpage module

This module is responsible for displaying frontpage, just after user logins.

lhfront - Live helper chat installer
Module function Short explain Notices
user General frontpage use permission Then creating member role you should always grant this permissions.

Departments module

This module is responsible for departmetns.

lhdepartament - Departments configuration
Module function Short explain Notices
alldepartaments Access to all departments chats If you want that user would be able to access all departments, you can grant this permission to role instead of marking all departments witch can access.
list Access to list departments -
create Create new department -
edit Edit department -
delete Allow to delete department -
selfedit Allow user to choose his departments User with granted this permission will be able to choose what departments he wants to belong.

Chat module

This is core module of chat. It's responsible for managing Live helper chat's

lhchat - Chat
Module function Short explain Notices
allowcloseremote Allow user to close another user chat Usualy then another user closes another user chat, chat does not get into state closed. Unles chat closed person is owner of the chat or user has this permission.
allowtransfer Allow user to transfer chat to another user -
deleteglobalchat Allow to delete all chats Usualy only owner with "deletechat" or users with "deleteglobalchat" can delete chat. Otherwise nothing happens.
deletechat Allow user to delete his own chats This permission have to be granted if you want that users should be able to delete his own chats.
allowchattabs Allow user to user chat rooms functionality -
singlechatwindow Allow user to use single chat window functionality -
use General chat usage permission -

Support project

Developing application takes a lot of time. You can support application by donating. There is no company behind this application and it takes away my free time. Every donation matters and does not matter how small it is!


Paypal, one time donation
Monthly donation
Bitcoin
bc1q6gkl2hcwtn2g26em6axc7jehmn2hd9x8g7nzx9

USDT (Ethereum network)
0x45b92C4aa29EFD3252fD04fcDDe3e6Ef8b399D75