Giter Site home page Giter Site logo

com.agiliway.custompermission's Introduction

com.agiliway.custompermission

The Custom Permission extension (com.agiliway.custompermission) is a CiviCRM component which implements CiviCRM orgstructure-based access control functionality for multi-unit hierarchically structured organizations. The extension supports permission allocation by roles and units.

Custom Permission Extension allows:

  • building a hierarchical organization structure through CiviRelationship
  • setting up relationships between organization units and assigning permissions accordingly
  • setting up user/organization relationship and assigning permissions accordingly
  • allowing access only to a specified organization unit the user belongs to
  • creating roles that regulate access to different areas of information for each user
  • extending access for selected roles to employees and other organization constituents
  • applying access rules to all components (contacts, cases, activities, events)

Screenshot

Follow these steps to assign permissions: 

  • Go to CiviCRM admin panel
  • Install Custom Permission Extension: Administer => System Settings => Extensions
  • Input the main organization name: Administer => Сustom Permissions settings

Screenshot

  • Define constituents of the organization hierarchy: Administer => Customize Data and Screens => Relationship Types

Screenshot

  • Set up relationship between the organization and its employees: Administer => Customize Data and Screens => Relationship Types

Screenshot

  • In view of such settings the contacts are granted the following access permissions:

Screenshot

In view of such settings the contacts are granted the following access permissions:

Main Employee:
  • View and Edit the Main Organization profile;
  • View and Edit the Sub Organization and Sub Employee profiles;
  • View and Edit the Child Organization and Child Employee profiles.
Sub Employee:
  • View the Main Organization and Main Employee profiles;
  • View and Edit the Sub Organization profile;
  • View and Edit the Child Organization and Child Employee profiles.
Child Employee:
  • View the Main Organization and Main Employee profiles;
  • View the Sub Organization and Sub Employee profiles;
  • View and Edit the Child Organization profile
Required CMS permissions:
  • CiviCRM: view my contact
  • CiviCRM: edit my contact
  • CiviCRM: access CiviCRM backend and API

Requirements:

CiviCRM v5.7

com.agiliway.custompermission's People

Contributors

awg-github avatar iprosoft avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.