table access

6 posts by 3 authors in: Forums > CMS Builder
Last Post: October 12, 2010   (RSS)

By rentittoday - October 6, 2010 - edited: October 6, 2010

Hey Guys,

We have successfully switched our categories to multi-category and use the membership plugin which gave us our coveted security features, such as author, editor, etc.

We have setup the code in our sign up form to allow new users an author status to all sections by default. For now, we go into CMS and setup the appropriate authorization status "by section" once they have signed up.

This system works fine except for when it comes to the accounts section.

When a new user signs up, they can go and add a listing to any category but they cannot see any of the other listings from other users. Which is my understanding of how the author status works. However, they can view ALL of the other users in the accounts section. They cannot edit or delete, thankfully, but we still, for privacy reasons, cannot have this. The accounts table is the only table we have this issue with.

I tried editing our sign up form code, giving the accounts table an access level of "0" which I believe is no access but it still does not work. How can we prevent users from seeing the users table?

Thanks!

Oh, I forgot, once we change the access level to "by section" manually in CMS, this is no longer an issue because there in not an option to give access to the account table. And the new user can no longer see the account table on the menu bar. Which further adds to my confusion of why they would be able to see it when they first sign up. [:/]
Jason Glass

Re: [rentittoday] table access

By Jason - October 6, 2010

Hi,

If you're changing their access level by editing the User Accounts section, you just uncheck the User Accounts section. You can also set it through SQL. You set the accessLevel to 0 where for that userNum where table = accounts. Even if their set to author for all sections, you can still add a record in the accesslist table that sets accounts to 0.

NOTE: Always make a backup before executing SQL commands directly and only do so if you're comfortable with it.

Hope this helps. Let me know if you run into any other issues.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [rentittoday] table access

By Chris - October 6, 2010

Hi rentittoday,

Great to hear you got everything switched over to Multi Records! :)

I think the simplest solution is to go to Admin > Section Editor > User Accounts, click on the Advanced tab, check the following option and Save:

Disable View [x] Don't allow viewing of records through "view" menu

Does that fix the problem?

I hope this helps! Please let me know if you have any questions.
All the best,
Chris

Re: [chris] table access

Yes we are definitely excited about the multi-record switch. We love the new functionality except for this issue with the accounts. :)

That box is already checked. I unchecked, rechecked and saved but no difference. :/

Any other ways that would allow us to block this category from anyone but an admin?

Thanks!
Jason Glass

Re: [rentittoday] table access

By Chris - October 12, 2010

Hi rentittoday,

Could we take a look at your CMS Builder? Please fill out a [url http://www.interactivetools.com/support/]Second Level Support Request[/url] with a link to this forum thread in the comments field.
All the best,
Chris