Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2021-04-09 15:13:34

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 10,286
Website GitHub

smd_section_roles: limit publishing to specific sections by role

A simple Textpattern plugin to limit publishing articles to specific sections by user role.

Simply install and enable, then visit the plugin’s Prefs panel and set up which sections each user role can access. Users can then:

  • Only save/publish articles to one of the nominated sections.
  • Only see articles on the Articles list panel in sections they’re permitted to post.
  • Only assign articles via multi-edit to sections they have access.
  • Only navigate next/prev between articles in sections to which they’ve been given access.
  • Not see/edit articles outside of their nominated sections.

Download the plugin .txt file.
Any issues or enhancements, please raise them in the tracker.

Thanks, and enjoy.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#2 2021-04-09 16:20:25

gaekwad
Multi-hyphenate
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 3,531
GitHub

Re: smd_section_roles: limit publishing to specific sections by role

Clever!

Offline

#3 2021-04-09 17:41:49

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 10,286
Website GitHub

Re: smd_section_roles: limit publishing to specific sections by role

Ta. Just an amalgamation of about 5 other plugins for doing various bits and pieces, sprinkled with a little prefs magic. Probably one of the few plugins I’ve written that I’ll never use, but it was a good exercise nonetheless.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#4 2021-04-10 03:18:50

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,469
Website GitHub Twitter

Re: smd_section_roles: limit publishing to specific sections by role

Thank you lot. Very useful.

#@owner smd_section_roles
#@language fr
#@prefs
smd_section_roles => Rôles par Section
smd_section_roles_restricted => Section restreinte

Patrick.

Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.

Offline

Board footer

Powered by FluxBB