Skip to content

Groups (uba_group) now filly supported

Pavlo Mashliakovskiy requested to merge feature/js-rbac-init into master

Adds support for uba_usergropup to ELS. pure JS uData initialization. Use root for DDLGeneration

  • initial values of Session.uData now filled inside JS Session._getRBACInfo (@unitybase/ub) instead of duplication of code inside UB server and @unitybase/uba model
  • in case user is a member of security group (uba_group / uba_usergroup) then roles assigned to this groups will be added to the user roles. ELS for such a roles will be also applied to user. UB server must be upgraded to >= 5.7.3
  • added Session.uData.groupIDs property - an array of group IDs user id assigned to
  • generateDDL command now work under root system account and can be executed only locally. -u and -p command line switches not used anymore

Merge request reports

Loading