Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-3731

Unable to add contacts, even though permission is granted.

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Critical
    • Resolution: Fixed/Completed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.1.2
    • Component/s: Standalone CiviCRM
    • Labels:
      None

      Description

      I have set up a "staff" group and "staff" role, and assigned all "core" ACLs to it. But people in that group are not able to add contacts. The relevants entries are missing from the navigation, and going directly to the respective URL results in a fatal error (no permission).

      After tracking down the database queries involved, I came upon somthing fishy: in the table civicrm_acl, the field object_table contains localized values. The system is checking for "add contacts", but the entry reads "Kontakte hinzufügen" (the German equivalent). This seems like a bug.

      If it's intended to use localized identifiers here, i'd strongly advise to rething that. Localization hanges would break it, and changing the local UI language would too. Also, diacritics in the identifiers may cause problems if you are not very careful with the database setup, connection charset, etc.

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              brightbyte Daniel Kinzler
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: