Editing Role permissions

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
3/4/2010 9:45:58 PM
Gravatar
Total Posts 111
Matt Millican InternetMill

Editing Role permissions

I'm having trouble when trying to edit the permissions for roles within a site.

I'm trying to allow content authors to use the file manager, and it acts like it's assigning the permissions, but they don't stick.  If you go back to the page, they are reset right away.

Is there something going on or that I might be missing?

Thanks,

3/5/2010 7:46:40 AM
Gravatar
Total Posts 18439

Re: Editing Role permissions

What version of mojoPortal?

I cannot produce this problem in the latest version.

Best,

Joe

3/5/2010 8:27:05 AM
Gravatar
Total Posts 111
Matt Millican InternetMill

Re: Editing Role permissions

Joe,

I'm using 2.3.3.9.  I tried different skins to see if that was the problem, and it wasn't.

I also tried it on my "master" site and child sites.

3/5/2010 8:37:59 AM
Gravatar
Total Posts 18439

Re: Editing Role permissions

What database platform?

Can you produce the same problem on demo.mojoportal.com?

3/5/2010 8:47:39 AM
Gravatar
Total Posts 111
Matt Millican InternetMill

Re: Editing Role permissions

I'm running MSSQL 2005.  I haven't had any issues with it before that I've noticed.

I just tried it on your demo site and it seems to work just fine.

Could it be some kind of setting that I don't have correct or a skin issue?

3/5/2010 8:51:04 AM
Gravatar
Total Posts 18439

Re: Editing Role permissions

Are you seeing any related errors in your log?

3/5/2010 8:55:13 AM
Gravatar
Total Posts 111
Matt Millican InternetMill

Re: Editing Role permissions

Nope, nothing about it shows up in the log.  I just cleared the log and tried changing the permissions again to make sure I wasn't missing anything, but nothing shows up.

3/5/2010 8:59:29 AM
Gravatar
Total Posts 18439

Re: Editing Role permissions

After you edit the permissions, try modifying the web.config file to recycle the app and then go back into Site Settings and see if your changes show after that. If for some reason it is failing to clear the site settings cache after making the change then you might not be seeing the latest version in the page.

Are you sure you are not running low on disk space or storage for the db?

3/5/2010 9:03:30 AM
Gravatar
Total Posts 111
Matt Millican InternetMill

Re: Editing Role permissions

Okay, I changed a permission, recycled the app pool and checked, and it was saved.  I tried updating permissions again and it didn't stick.

I know we have plenty of space available on the server, so I don't think that's the issue.

Thanks for helping with this!

3/5/2010 9:15:15 AM
Gravatar
Total Posts 18439

Re: Editing Role permissions

So it is saving the change to the database but it is not clearing the site settings cache so it still shows the old settings until you touch Web.config which clears the cache. The only problem that can prevent clearing the cache is if file system permissions are not correct. There are text files created that are used for cache dependency so when we want to clear the cache we just touch the cache dependency file, but if it cannot modify the file then it fails to clear the cache.

So, something has changed in your file system permissions. You need to make sure the /Data folder and all sub folders are writable by the web process.

I would delete the old cache dependency files, if folder permissions are correct they will be re-created anyway.

Delete all files from /Data/systemfiles and /Data/Sites/[SiteID]/systemfiles

Hope it helps,

Joe

3/6/2010 3:57:27 PM
Gravatar
Total Posts 111
Matt Millican InternetMill

Re: Editing Role permissions

Hi Joe,

Sorry to bother you about this again, but I was looking into it more.

I checked file permissions for the folders and all seems to be okay.  I also deleted all of the cache files.

What I just noticed thats weird is that one of my other sites, I can change the permissions in the SiteSettings just fine.  They stick without a problem.

Thanks again,

You must sign in to post in the forums. This thread is closed to new posts.