Perhaps, I misunderstand the question, but if you go to administer -> input formats, you should be able to control which roles can post content for a specific input filter. This code is available in 4.6.
You need the Administer filters permission to change this behaviour.
Is that what you were looking for?
Dave
-----Original Message----- From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Carl Parrish Sent: Tuesday, March 14, 2006 4:37 PM To: support@drupal.org Subject: Re: [support] Access control of PHP code
Bèr Kessels wrote:
Op dinsdag 14 maart 2006 18:09, schreef Carl Parrish:
Is there a way to make it so that only Admins (or some other role) can post php code?
- 7 (try a beta) has rather nice formed permissions for this.
For post-4.7 we are working on an even better and more secure/general solution.
If you are really interested, please join the development mailing lists, for you will find some posts there aboiut his issue. Also, the cvs logs on drupal.org/cvs will tell you what happens in that regard.
Bèr
hmm since the answer to all my questions seem to be "check out 4.7" *and* there doesn't seem to be any sense in learning the old frame work when the new one is coming soon. Perhaps I should work on porting my sites over to 4.7 now (how close to a release are we?) . I'm worried that the modules I need won't be ported yet. But perhaps porting mods would be a good way to learn the framework. -- [ Drupal support list | http://lists.drupal.org/ ]