Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Stefan
    @stefankeidel
    You may also want to look into the ca_occurrences_dont_show_in_new_menu setting in app.conf if you only want to hide these types from tne "New" menu (so they can still be created from other places, like QuickAdd or direct links)
    PMassoels
    @PMassoels
    Hi there
    I try to deploy CA on the server but the menu appears to have disappeared
    and i get an access denied for every route
    logged in as administrator
    any idea what the problem could be?
    Stefan
    @stefankeidel
    Not without looking at the server. Sounds like you're possibly missing some files?
    PMassoels
    @PMassoels
    All files should be in place
    One link is available , if i click it i get a restricted access warning
    Stefan
    @stefankeidel
    hard to say what's going on without more info
    PMassoels
    @PMassoels
    There are no errors in the error log, if the code wasn't complete it should give me an error somewhere
    Stefan
    @stefankeidel
    Where did you grab the code?
    PMassoels
    @PMassoels
    github
    There are no errors, i only have the admin account in place
    But i cant access any page
    Errors occurred when trying to access /index.php/system/Preferences/EditUIPrefs:
    Access denied
    And the links are not visible
    Stefan
    @stefankeidel
    Hmm, do you have a local access_restrictions.conf?
    PMassoels
    @PMassoels
    no
    this line is in app.conf -> allow_fetching_of_media_from_remote_urls = 1
    and i copied the navigation.conf
    but no changes are made there so far
    Stefan
    @stefankeidel
    Try deleting that copy, clear the cache and log in again
    PMassoels
    @PMassoels
    that was the first thing i did
    Stefan
    @stefankeidel
    This is master-fix?
    Did you rename the role code for the admin role in your profile by any chance?
    Maybe your admin account wasn't assigned any role
    PMassoels
    @PMassoels
    No, sorry
    Also checked that
    Stefan
    @stefankeidel
    You're using local plugins, right? Try moving those out of the way
    PMassoels
    @PMassoels
    the problem was that on deploy user_id 2 was given tot the administrator
    changing that made it work
    is there a check on user_id somewhere in the code?
    Stefan
    @stefankeidel
    There is an option in app.conf that gives user id 1 full admin privileges no matter what
    So your admin user didn't have admin privs after all?
    PMassoels
    @PMassoels
    On deploy it gave user_id=2 in stead of 1
    Stefan
    @stefankeidel
    That shouldn't matter if the right roles are assigned
    and one of the roles has full admin access
    PMassoels
    @PMassoels
    Their are never any roles assigned on deploy :.
    Stefan
    @stefankeidel
    ?
    PMassoels
    @PMassoels
    every time a do a fresh install of a profile the roles database is empty
    Stefan
    @stefankeidel
    You can set roles, groups and logins in profiles
    and add an admin account like this:
        <login user_name="administrator" password="dublincore" fname="CollectiveAccess" 
               lname="Administrator" email="info@collectiveaccess.org">
          <role code="admin"/>
          <group code="admin"/>
        </login>
    base.xml defines a few roles and groups
    PMassoels
    @PMassoels
    aight, thnx :)
    mrjayviper
    @mrjayviper
    Hi all. I'm trying to delete an element within a container. this element has had data imported into it. When trying to delete the element, I am getting this message "Can't delete item because it has sub-records".
    mrjayviper
    @mrjayviper
    please ignore the thing above (can't delete issue). I thought I didn't submit it. my mistake. sorry!
    GautierMichelin
    @gautiermichelin
    Hello Stefan and others