Textpattern Plugin : ajw_admin_workflow

25 May 2005 @ early evening | Comments (3)

Plugin Details

Download:
ajw_admin_workflow
Version:
0.3.1
Forum:
Read discussion
Status on this site:
Disabled

Please use forum for all bug reports and questions

Problem:

An author with restricted permissions needs to edit your article, but you don’t want to have to “up” their permissions level in order to allow access. What do you do?

Solution:

Transfer the article’s ownership to the other author so that they can edit it freely. Textpattern tennis!

Summary

Workflow allows users to easily hand over an article’s authorship to another site author, without having to edit user permissions. Managing editors and publishers are able to transfer authorship of any article. Everyone else (with sufficient article permissions) may transfer articles that they currently own.

Upon successful transfer of an article, the new author will receive an email alerting them take action. The email contains a link to the article’s edit page in Textpattern, making the process pretty darn easy.

At current stage, this plugin is still beta. Please post feature requests and bug reports in the associated forum discussion thread.

Known Issues

  • After transferring an article, the “Posted by” (listed directly under the article) does not immediately refresh with new author. This is related to a Txp admin plugin bug and will be fixed when the bug is fixed.

Notes

  • Requires Textpattern v4.0.4 or later
  • This plugin modifies the DOM in order to display its interface.
  • Inspired by David Raynes’ Workflow plugin for Movable Type.

To Do

  • Add the ability to integrate publish and perhaps other individual permissions control (this will require Txp permissions to be moved out of admin_config.php… please abolish that file)
  • Add the ability to store the original author of an article (this will require somewhere in the database to store this information… not sure where)

Revision History

  • v3.0.1
    • Fixed alphabetical sorting of names
  • v3.0
    • Updated for Textpattern v4.0.4
  • v0.2.2
    • Fixed bug which caused failure after publishing new article
    • Now confirms transfer with author’s full name
    • Minor code cleanup
  • v0.2.1
    • Small update to improve name sorting
  • v0.2
    • Email notifications are now optional.
  • v0.1.3
    • Fixed php notice when only one site author is defined.
  • v0.1.2
    • Fixed an undeclared variable that was throwing a small error.
  • v0.1.1
    • Small usability fix for hide/show link (thanks mary)

3 comments

1

‘for he’s a jolly-good fellllllllow! for he’s a jolly-good fellllow! for he’s a jolly good felllllllllllllllllllOWWWWWW that nobody can deny!’

gosh does the Textpattern Resources site appreciate you.
and whoever has had to manage administration of dozens of authors without this plugin—man, they would so give you a hug right now if you weren’t across the internet.

thanks for figuring out this need and solving it. version2 of textpattern.org (and me!) will be so happy to have this. thank you :) :)

p.s. “and I!” just doesn’t have quite the same ring to it.

Alicson → ferrydust.com
2

Yep, that was exactly the scenario. I had no desire whatsoever to increase the permissions for the Staff Writer and it struck me that there was no way for that author to edit my article (without some jiggery-pokery).

And so it began.

andrew → compooter.org/
3

Oh! I just know I need this for textgarden.org

Thanks!

sivert → sivni.com

Comments are closed for this article.

Previously