Can you restrict members/groups to certain categories?
Posted: 08 April 2008 09:32 PM   [ Ignore ]  
Grad Student
Avatar
Rank
Total Posts:  32
Joined  04-07-2008

Hi guys,

I need to know if a module, plugin or extension exists so that I can stop members from publishing articles in certain categories. What I basically want is a member (or a group) to not even see certain categories when they go to publish an article.

So, to give you a basic ‘workflow’ of what I need:

1) Admin creates a member and assigns them to the ‘Limited’ group
2) Admin assigns the user to the ‘News’ and ‘Personal’ categories, but not to the ‘Work’ or ‘Random articles’ categories.
3) User creates a new article, but the only category options they have are the ‘News’ and ‘Personal’
4) Everyone is happy!

I can’t use the ‘Weblogs’ in this case, since I need them to define the types of articles being written, so everyone should be able to access all ‘Weblogs’, but not be able to publish under certain categories…

If nothing like this exists, would writing an Extension be the way to go?

Thanks,

Michael

Profile
 
 
Posted: 08 April 2008 10:18 PM   [ Ignore ]   [ # 1 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15409
Joined  05-15-2004

No, sorry, I know of no way to accomplish this. You probably have to re-think your setup, using weblogs instead of categories would be the way to go.

 Signature 

Everything will be good in the end. If it’s not good, it’s not the end.

Profile
MSG
 
 
Posted: 08 April 2008 10:28 PM   [ Ignore ]   [ # 2 ]  
Grad Student
Avatar
Rank
Total Posts:  32
Joined  04-07-2008

Thanks for the reply… I figured that would be the case, so I’m writing an extension. I’m going to basically do this:

1) Create a custom field for categories
2) Type a comma-separated list of member groups that have access to this category
3) Write an extension that uses the ‘publish_form_category_display’ hook to manipulate the display of the categories
4) Show only the categories the user has access to.

Unfortunately, weblogs fits in extremely well into another aspect of the project, so I can’t use them. Everything EE offers fits really well, its just this permissions model that lacks a little for my use…

Thanks!

Michael

Profile
 
 
Posted: 08 April 2008 11:03 PM   [ Ignore ]   [ # 3 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15409
Joined  05-15-2004

Well, good luck to you, and let us know how it goes. I am sure there’d be more people interested in that functionality.

 Signature 

Everything will be good in the end. If it’s not good, it’s not the end.

Profile
MSG
 
 
Posted: 23 June 2008 11:59 AM   [ Ignore ]   [ # 4 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  127
Joined  06-03-2006

Hi Michael, just following up on this issue.

Were you able to get an extension written to limit access for certain member groups to a specific category? Thanks!

Jae

 Signature 

ejaedesign.com

Profile
 
 
Posted: 23 June 2008 01:27 PM   [ Ignore ]   [ # 5 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  286
Joined  02-02-2007

Hi Michael,

Restricting member groups to certain categories is a very useful, very needed feature. Some time ago I even posted a feature request asking for this.

I wish you the best success in writing your extension and hope to be able to try it in the near future.

 Signature 

Full list of plugins here

Child Categories
Browser Sniff
Category Id
Entries List

Profile
 
 
Posted: 23 June 2008 04:55 PM   [ Ignore ]   [ # 6 ]  
Grad Student
Avatar
Rank
Total Posts:  32
Joined  04-07-2008

Hi guys,

I did write an extension but I’ll need to get permission before I publicly release anything. I’ll have a chat to the right people today and I’ll see what I can do.

Profile
 
 
Posted: 23 June 2008 05:17 PM   [ Ignore ]   [ # 7 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  127
Joined  06-03-2006

That’d be great Michael - and thanks a bunch smile

 Signature 

ejaedesign.com

Profile
 
 
Posted: 26 June 2008 12:43 AM   [ Ignore ]   [ # 8 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  184
Joined  10-24-2006

This would be a great plug-in for us as well, please keep the community posted.

 Signature 

Dabbledoo Media

———————————————————————-
Gadgetell - Tech News and Reviews
Gamertell - Gaming Hardware and Product News
Appletell - Apple News and Rumors

Profile
 
 
Posted: 18 September 2008 07:12 PM   [ Ignore ]   [ # 9 ]  
Lab Assistant
RankRank
Total Posts:  107
Joined  11-17-2005

Did anybody else have any luck with this? I have a site for which something like this would be incredibly useful.

Michael—any chance you could share that extension, at least for me to have a look at how it’s put together?

Profile
 
 
Posted: 19 September 2008 12:50 AM   [ Ignore ]   [ # 10 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  286
Joined  02-02-2007

michaelb on 24 June 2008:

I did write an extension but I’ll need to get permission before I publicly release anything. I’ll have a chat to the right people today and I’ll see what I can do.

Michael, have the right people forbidden you to release your extension?

 Signature 

Full list of plugins here

Child Categories
Browser Sniff
Category Id
Entries List

Profile
 
 
Posted: 19 September 2008 07:46 AM   [ Ignore ]   [ # 11 ]  
Grad Student
Avatar
Rank
Total Posts:  53
Joined  06-04-2008

Any update on this extension? Tx!

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 64981 Total Logged-in Users: 26
Total Topics: 82022 Total Anonymous Users: 20
Total Replies: 440841 Total Guests: 171
Total Posts: 522863    
Members ( View Memberlist )
Newest Members:  Chris Bandytony leodennisbaldwinhazlett_davidkpspokeli9htcluizmbentsitjmattdennis3