Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-07-08 17:56:49

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,726
Website

File authors?

Not sure if I missed it in the most svn updates. Do files now have an author ownership like the images do? If not, could that be squeezed in before the next release? That would be excellent!


TXP Builders – finely-crafted code, design and txp

Offline

#2 2006-09-14 22:33:54

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,726
Website

Re: File authors?

I made some minor source code modifications to the most recent pre-4.0.4 svn version to obtain an author field for files and adding the author column to the file list.

I also made it so that for the priv not-“admin.list” (currently staff writer and below) only the author’s own articles, images and files are listed along the lines of this thread (images and files too, and also catching the search box too). This avoids the problem that authors can delete all images and files, though only by dint that they are not displayed, not by any special new privileges.

Is this of any use? I have no idea how to submit diff-files, but I have marked the modifications in the files and can mail them.


TXP Builders – finely-crafted code, design and txp

Offline

#3 2006-09-15 05:42:58

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,090
Website GitHub Mastodon Twitter

Re: File authors?

jakob wrote:

I also made it so that for the priv not-“admin.list” (currently staff writer and below) only the author’s own articles, images and files are listed along the lines of this thread (images and files too, and also catching the search box too). This avoids the problem that authors can delete all images and files, though only by dint that they are not displayed, not by any special new privileges.

This sounds like a very good step for txp. Hope that the developers include your code


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#4 2006-09-15 08:35:14

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,726
Website

Re: File authors?

In the meantime, I worked out how to make the diff-files and sent them to the dev-list.


TXP Builders – finely-crafted code, design and txp

Offline

#5 2006-09-15 09:56:24

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,090
Website GitHub Mastodon Twitter

Re: File authors?

Is there a way where authors can see/use images/files in their articles (if admin gives them that right) but not delete them? (especially if those were not uploaded by them)

Last edited by colak (2006-09-15 09:57:06)


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#6 2006-09-15 11:08:30

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,726
Website

Re: File authors?

I guess you mean images uploaded by others. No, I haven’t done that. At the moment there are just allowed/disallowed privileges for the file tab and the images tab. I imagine what you mention would need new privileges for images and files along the lines of those that exist for articles, e.g. image.edit/image.edit.own and image.delete/image.delete.own.

They way I did it, each author has their own txp-backend, e.g. an articles area and their own image and file repository, but not a common image bank.


TXP Builders – finely-crafted code, design and txp

Offline

#7 2006-09-29 15:17:54

jamiew
Archived Plugin Author
From: NYC
Registered: 2005-01-08
Posts: 74
Website

Re: File authors?

Jakob — when did you send in this patch? I’m not seeing anything on the txp-dev list!

Sure other folks besides myself would love to have this in core, along with the aforementioned .delete/.delete.own expansions

Offline

#8 2006-09-29 20:17:01

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,726
Website

Re: File authors?

on 15th September as posted above, but that doesn’t guarantee it will be included. Who knows (?!), maybe someday it will be integrated. In the meantime, you have mail.


TXP Builders – finely-crafted code, design and txp

Offline

#9 2006-09-29 20:39:18

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: File authors?

Looks like that patch never reached txp-dev. You may want to try sending it again.

Last edited by ruud (2006-09-29 20:39:49)

Offline

#10 2006-09-30 06:02:48

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,726
Website

Re: File authors?

Thanks ruud for the heads-up. I got an automated reply back saying “Your message to txp-dev awaits moderator approval” with reason “Post by non-member to a members-only list”* (I’m not a member of the list) so I’ve sent it again. Maybe that’s the reason. If it still does not work, let me know and I’ll send it to someone (zem, sencer, mary?) directly.

*same with repeat submission too, of course

Last edited by jakob (2006-09-30 06:22:24)


TXP Builders – finely-crafted code, design and txp

Offline

#11 2006-09-30 06:50:57

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: File authors?

(I’m not a member of the list)

Subscribing is fast and easy and it doesn’t even cost anything! Seriously – how are we supposed to discuss a patch with yo, if you are not on the list. The list is not a truck, that you just dump something on, it’s a series of place for discussion.

Offline

#12 2006-10-02 21:18:11

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,726
Website

Re: File authors?

The list is not a truck, that you just dump something on…

Of course, I never regarded it as such – I also never saw myself as a developer but just happened to have a contribution to make. My apologies, I’ll subscribe.


TXP Builders – finely-crafted code, design and txp

Offline

Board footer

Powered by FluxBB