You are not logged in.
I’ve fleshed out patches for an admin.list privilege that allows some user roles to only see their own articles, images, and files — super handy for multiuser sites. Originally developed by Jakob_R and discussed here. I submitted it for inclusion in core but never heard anything back, so I’m publishing it here. I use this on literally every one of my TXP installs and figured you guys might find it handy too.
Note: this is not a plugin. Modifications to your TXP core ensue.
patch -p0 -i admin-list-perms-sql.patch; patch -p0 -i admin-list-perms.patchLast edited by jamiew (2006-11-12 06:27:13)
Offline
This is awesome Jamie!!
I have a site I can use this on right away, had been waiting for something like this to implement multiblog functionality. I’ll install it locally and let you know how it goes.
I imagine this patch is against 4.0.4 and not what’s in SVN (r2078)?
Offline
The site in question is running Textpattern version: 4.0.4 (r1956), I’ll load it up on my local test server and apply the patches.
It’s a shame that this patch never made it into the core for 4.0.4, could of been a big selling point. Just to add, I had submitted a similar request to Team Textpattern, something very simple like what your patch does but we never came to any solid decision.
Offline
I’m with you bert
especially regarding the patch for images
neme.org | neme-imca.org | hblack.net | LABS
Offline
thanks jamie for bringing it up to date. I’d submitted it too but…
I’m also using it for a mini multi-blog situation.
EDIT: jamie, is this the same as my original admin.list permissions patch plus the file authors or have you gone the whole hog since and added image.edit, image.edit.own, image.delete and corresponding file permissions?
Last edited by jakob (2006-11-12 22:28:02)
TXP Builders – finely-crafted code, design and txp
Offline
Just admin.list for now, since I didn’t have a pressing need for the others. Until there’s some interest from core about including this stuff I’m also a little hesistant to make the patches even bigger. :(
I’m putting the finishing touches on a plugin (and a small patch) to easily edit the permissions table and move the currently hard-coded stuff in admin_config.php to the DB (finally!)
There’s been lots of talk of overhauling the perms system elsewhere that hasn’t really led to much. I’m all for just introducing incremental changes like this, figuring it out as we go along. Don’t want to muck things too much, though. Please criticize, propose ideas, publish risky patches, etc!
Offline
oh jamie. what a great idea. i hesitate installing it now, since i only have a live site to test (4.0.4 release) – should i just… go for it?
on another notre it’ll be awesome to be able to configure new users, who’d be able to write only for specified sections (like from a section drop down menu with multiple select when configuring new user).
Last edited by jayrope (2006-11-22 10:45:36)
jayrope
Offline
Hi, I’d like to use this feature but will it work in 4.0.5?
Offline
Jamiew.
What a very clever hack. Works fine with 4.0.5 (manual update).
Do you think it will be possible to show only article’s comments authors?
Regard,
Patrick.
Txp Tricks & Tips by french users : http://txp-fr.net | G+
@Devs : Can’t find the punched tape version of TXP and I need it!
Happy user of TXP 1.0RC1
Offline