I am trying to set up a user manager that would restrict the user to a specific parent. My file structure looks like this:
commercial properties
- property 1
-unit 1
-unit 2
- property 1
-unit 1
-unit 2
residential properties
- property 1
-unit 1
-unit 2
- property 1
-unit 1
-unit 2
I followed
http://bobsguides.com/user-specific-pages.html and created my user, my user group and my resource group. I added my user to my user group, added a AllDocs group for the manager and hid all the content from my user. I added the residential property "folder" to one of my users in the resource group.
I gave my user access to the mgr and the web, set their role to a custom role with a permission of 15.
First, if within the user manager, I try to change the template, I get the following: Notice: Undefined index: resource_groups in manager/controllers/default/resource/create.class.php on line 112
Notice: Undefined index: resource_groups in manager/controllers/default/resource/create.class.php on line 112
That doesn't break the process but is far from desirable. I can ignore that and go on. However, when I create a resource within the allowed folder, it saves the resource but throws
Notice: Undefined index: pagetitle in /manager/controllers/default/resource/update.class.php on line 206
and returns Error!
Resource not found with ID: 77
So, I guess I could hide the notice using PHP, even if that's not ideal. However, I must be missing something because the resource created within a group group doesn't show within that resource group but withing the DocAll resource group. It will prevent me from saving in folders that aren't defined within the resource group permissions, so limitations are in place, but I simply cannot figure out how to allow the user to see their own resources.
One last thing: if I just duplicate a resource, I can see it fine.
Thanks in advance!
[ed. note: helene last edited this post 14 years, 1 month ago.]