November 24, 2024, 05:15:45 PM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: 2011:
http://www.digitaldevildb.com/bbs/index.php/topic,1031.msg10894.html
Home
Help
Search
Calendar
Login
Register
DIGITAL_DEVIL_DATABASE Community Forum
>
Post Apocalyptic Hellscape
>
The Underground
(Moderators:
Emilio Morales
,
DevilRy
) >
Role Manager plugin in place, and Revisions for all...
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: Role Manager plugin in place, and Revisions for all... (Read 7788 times)
yksehtniycul
The Karma King and
New Administrator
offline
don't play with me 'cause you're playing with fire
yksehtniycul phones it in,
«
on:
January 10, 2009, 01:40:27 AM »
I finally got around to installing the popular Role Manager plugin. My only reason to install this before was to get contributors access to the WordPress Media Library (upload images for posts) ...But it occurred to me tonight to check if contributors could delete posts, and sure enough they could
So I had to immediately put a stop to that of course
Now only the admin should be able to delete something (which is as it should be by default)
I also was hoping for a privilege regarding revisions. There wasn't one, but I was able to hack WP as usual, and fairly painlessly this time. So now contributors should be able to see any revisions made, including editorial revisions, and restore a post to an old revision if desired (not the same as a rollback)
According to this bit I stumbled over there are some Media Library issues with WP:
http://wordpress.org/support/topic/182142
I'm not sure this still applies (I just checked, and it does)
My intention is to use a custom Media Library system in time, but for now I'm going to try to just hack the "Delete" button out of the Media Library interface. Not an ideal approach as the form uses the Get method, but I trust our present contributors to not go out of the way to delete files from the Media Library
Logged
yksehtniycul has 2094 Posts (+0/-0 Karma)
yksehtniycul
The Karma King and
New Administrator
offline
don't play with me 'cause you're playing with fire
yksehtniycul phones it in,
«
Reply #1 on:
January 10, 2009, 01:56:40 AM »
Nevermind.... I did a hack to prevent file deletion, then when I went to test it, turns out even though the delete button is there... if you try to use it you end up being told you don't have permission to. So everything seems cool / hack undone
Logged
yksehtniycul has 2094 Posts (+0/-0 Karma)
Pages: [
1
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Reincarnation
-----------------------------
=> Welcome Back
=> Beta Opening Only
-----------------------------
Be Your True Mind
-----------------------------
=> The Turnstile
=> Digital Millennium
=> Find Your Voice
-----------------------------
MEGAMI TENSEI™ Uncensored
-----------------------------
=> Megaten Hell
=> IMAGINE Online
=> Tokyo 202X
=> Summoners' Club
=> Velvet Room
=> Nirvana
-----------------------------
IMAGINE Online klan boards
-----------------------------
=> DDDBバベル
-----------------------------
Post Apocalyptic Hellscape
-----------------------------
=> Karma Palace
=> Tower of Babel
=> The Underground
=> Sea of Souls
Loading...