permission_management

package
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddUserToPermissionGroupController

func AddUserToPermissionGroupController(c *fiber.Ctx) error

///////////////////////////////////////////////////////////

                                                  //
     AddUserToPermissionGroupController           //
   This controller adds permission to user        //
It requires login credentials, permission-name    //
               and username                       //
                                                  //

///////////////////////////////////////////////////////////

func CreatePermissionGroupController

func CreatePermissionGroupController(c *fiber.Ctx) error

///////////////////////////////////////////////////////////

                                                    //
          CreatePermissionGroupController           //
     This controller creates a new permission       //
It requires login credentials and permission-info   //
                                                    //

///////////////////////////////////////////////////////////

func DeletePermissionGroupController

func DeletePermissionGroupController(c *fiber.Ctx) error

///////////////////////////////////////////////////////////

                                                     //
          DeletePermissionGroupController            //
  This controller deletes an permission group        //
It requires deletePermissionGroupRequest instance    //
                                                     //

///////////////////////////////////////////////////////////

func EditTableMinPermLvlController

func EditTableMinPermLvlController(c *fiber.Ctx) error

//////////////////////////////////////////////////////////////////

                                                            //
            EditTableMinPermLvlController                   //
This controller changes the minPermLvl of the given table   //
      It requires editTableMinPermLvlRequest instance       //
                                                            //

//////////////////////////////////////////////////////////////////

func ListAllPermGroupsOfTableController

func ListAllPermGroupsOfTableController(c *fiber.Ctx) error

//////////////////////////////////////////////////////////////////

                                                          //
         ListAllPermGroupsOfTableController               //
This controller fetches all permission groups of table    //
 It requires listAllPermGroupsOfTableRequest instance     //
                                                          //

//////////////////////////////////////////////////////////////////

func ListAllPermOfUserController

func ListAllPermOfUserController(c *fiber.Ctx) error

//////////////////////////////////////////////////////////////////

                                                            //
              ListAllPermOfUserController                   //
This controller fetches all permissions of user             //
     It requires listAllPermsOfUserRequest instance         //
                                                            //

//////////////////////////////////////////////////////////////////

func ListAllPermissionGroupsController

func ListAllPermissionGroupsController(c *fiber.Ctx) error

//////////////////////////////////////////////////////////////////

                                                        //
        ListAllPermissionGroupsController               //
   This controller fetches all permission groups        //
It requires models.LoginWithTokenRequest instance       //
                                                        //

//////////////////////////////////////////////////////////////////

func RemoveUserFromPermissionGroupController

func RemoveUserFromPermissionGroupController(c *fiber.Ctx) error

//////////////////////////////////////////////////////////////////

                                                            //
          RemoveUserFromPermissionGroupController           //
    This controller removes user from permission group      //
It requires removeUserFromPermissionGroupRequest instance   //
                                                            //

//////////////////////////////////////////////////////////////////

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL