Closed hseljenes closed 12 years ago
There is no way in the code to do this. I don't think it's possible. We could set up permissions to prevent people from watching videos, but we cannot prevent people from adding new videos. The video embedding tag is just text saved to the DB, and anybody with edit permissions can edit the page. There's no way for the software to parse it out and determine if you've added a new tag or edited a page with an existing tag.
Sorry,
--Andrew Whitworth
On Tue, Feb 14, 2012 at 12:02 PM, hseljenes reply@reply.github.com wrote:
I couldn't find anything in the documentation and skimming the code didn't turn anything up for this request:
Is there a way to allow define permissions for this extensions use?
Something like $wgGroupPermissions['user']['embedvideo'] = false;
I only want to allow certain groups to embed videos.
Reply to this email directly or view it on GitHub: https://github.com/Whiteknight/mediawiki-embedvideo/issues/24
That's what I was worried of. Guess we'll investigate some other routes. Thanks!
I couldn't find anything in the documentation and skimming the code didn't turn anything up for this request:
Is there a way to allow define permissions for this extensions use?
Something like $wgGroupPermissions['user']['embedvideo'] = false;
I only want to allow certain groups to embed videos.