Uploaded image for project: 'Apache Fineract'
  1. Apache Fineract
  2. FINERACT-323

If a user has “create client” permission, but doesn’t have “activate client” permission, he/she can still activate the client while creating a client using ACTIVE checkbox

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.0
    • Component/s: Client
    • Labels:

      Description

      Reported by Rishab at https://mifosforge.jira.com/browse/MIFOSX-2522

      Original Description:
      Steps to reproduce:
      1. Create a use and give him permissions for “CREATE CLIENT” and “ACTIVATE CLIENT” under Portfolio.
      2. Login from this new user.
      3. Create a new client. >> This is where you would be able to “ACTIVE” the new client.
      Possible fix:
      In file community-app/views/client/createclient.html, search for 'label.input.active' | translate. The div opening above this with class=”form-group”, add attribute ‘has-permission="ACTIVATE_CLIENT"’
      I am not using git so have not shared the proper diff but have tested these changes and they work fine.

        Attachments

          Activity

            People

            • Assignee:
              mgeiss Markus Geiss
              Reporter:
              santoshmath Santosh Math
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: