Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Restrict users to particular category
Hello All,
Here’s an example of what I’m after
User johnsmith
can login to TXP and only edit articles/files/images that are set to category johnsmith
.
I know this will involve creating categories for each user (sort of like mrDale’s client area) – but I’d like them to be able to access this information from the TXP admin interface.
Anyone done something like this?
Is this even possible?
Offline
Re: Restrict users to particular category
Anyone done something like this?
Is this even possible?
With current Textpattern userlevels that is kinda impossible. You could try to modify the admin pages $buffer
, but it isn’t that working method, nor bulletproof secure cause it doesn’t prevent function calls (like deleting other categories and articles) and if the output differs from the needle, then it doesn’t work at all.
With Javascript is the same thing, plus with javascript you can even see the other categories and articles in the source.
So, i have to say, it is plassible in some from, but insecure and too much work to be done in the correct form.
Best way to do that, probably is to build public editing pages for articles and categories, and protect those with passwords (ign_password_protect). But that would require custom coding aka hiring real programmer developer, but truly, it is not anykind hard job – easy but a lot of work.
Last edited by Gocom (2008-09-05 17:27:30)
Offline
Re: Restrict users to particular category
Thanks Gocom.
I might try some other options. I was just throwing my “ideal scenario” out there. Sounds like it would be more work than it’s worth to me at the moment.
Offline
Pages: 1