Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hello,
I have a site which I am developing on my local machine which shares a database with the staging site.
When I add a public permissions block to the node (single user or role based) this change is present on my local dev instance but not the staging box.
I was a little surprised since they both share the same database.
Where is this stored? It's a bit of a pain having to manually recreate the permissions.
Valerie
Hi Valerie,
If you go to the folder called /App_Data in your Umbraco installation you will find a file called access.config.
So please make sure that this file is in the staging server too.
Hope this helps,
/Dennis
Comment author was deleted
Valerie,
Dennis is spot on.
The issue you'll run into is the fact that the access.config file stores page Id's generated unique to the database you are working on.
So if your dev DB has a page with Id of 1234, your production or dev DB may use a different Id.
You should be able to update this XML file and drop it on the box with the correct Id's.
Not ideal of course.
Regards,
Kevin
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
User Permissions - not stored in database?
Hello,
I have a site which I am developing on my local machine which shares a database with the staging site.
When I add a public permissions block to the node (single user or role based) this change is present on my local dev instance but not the staging box.
I was a little surprised since they both share the same database.
Where is this stored? It's a bit of a pain having to manually recreate the permissions.
Valerie
Hi Valerie,
If you go to the folder called /App_Data in your Umbraco installation you will find a file called access.config.
So please make sure that this file is in the staging server too.
Hope this helps,
/Dennis
Comment author was deleted
Valerie,
Dennis is spot on.
The issue you'll run into is the fact that the access.config file stores page Id's generated unique to the database you are working on.
So if your dev DB has a page with Id of 1234, your production or dev DB may use a different Id.
You should be able to update this XML file and drop it on the box with the correct Id's.
Not ideal of course.
Regards,
Kevin
is working on a reply...