cancel
Showing results for 
Search instead for 
Did you mean: 

How to configure user profile and views access for alfresco mobile ?

sanogo
Champ in-the-making
Champ in-the-making

Hi ! I tried to set up configuration.json file for alfresco mobile. My user logged in successfully. But I don't know how to enable or authorize my user to access a specific folder. I need help to understand or an example of configuration.json file. I copied nodeRef value from my alfresco workspace and put it in config file but the folder not showing when I loggin with android mobile app.

Here below my config file

{
  "info":{
      "schema-version": 0.2
  },

  "repository":{
      "share-url": "http://213.0.0.0:0000/share"
  },
 
  "features":[
      {
          "id": "feature-analytics-default",
          "type": "org.alfresco.client.feature.analytics",
          "enable": true
      }
  ],    

  "profiles":{
      "users":{
          "label-id": "Mes users",
          "description-id": "Mes Users Dashboard",
          "root-view-id": "view-team",
          "root-action-id": "actions-default",
          "evaluator": "isAlfrescoV42"
      }
  },        

  "views" : {
      "view-team":
      {
          "label-id": "Team",
          "type": "org.alfresco.client.view.repository",
          "params": {
            "nodeRef": "workspace://SpacesStore/18d95424-e3a0-4d46-80f2-1",
            "folderTypeId" : "18d95424-e3a0-4d46-80f2-1"
          }
      }
  },

  "evaluators": {
      "isAlfrescoV42": {
          "type": "org.alfresco.client.evaluator.isUser",        
          "params": {
              "users": [
                  "nicole.t",
                  "admin"          
              ]
          }
      }
  }
}    

Thank's.

0 REPLIES 0