Create Permission to use AJAX plugin

btopro - April 20, 2009 - 14:21
Project:Ajax
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:minor
Assigned:brendoncrawford
Status:active
Description

Create a permission like "use ajax forms" that enables / disables the module's functionality per role. A few reasons for this:

1. You don't want anonymous users to use the ajax module or some other role
2. You want the User Experience to meet a certain workflow that doesn't have the AJAX functionalty
3. I've found several times now where I want it for the admin but not for the end users who are used to the system behaving a certain way
4. Other modules that leverage the ajax functionality yet don't want users to have access to it outside of that environment (where certain roles have access to that interface)

I see this as being critical as I've started to find groups of users who have problems with the AJAX module because they don't meet browser requirements (or at least when used in conjunction with TinyMCE module). This would be a pretty simple "fix" I think, just wondering if it's something the project would be interested in before I go and hack my own version to add this in.

#1

brendoncrawford - April 23, 2009 - 04:35

btopro,

Yes this is something I would be interested in adding. I am however curious to know which TinyMCE problems you have encountered? Could you post a bug for those?

#2

btopro - April 23, 2009 - 05:09

I think it's more so students don't let the page fully load and click stuff. I could only replicate it at random so that's what my guess is since it didn't happen every time on the same browser. Mostly would just like to unbloat the page load as much as possible client side for non-admins.

#3

brendoncrawford - April 23, 2009 - 22:19
Priority:critical» minor
Assigned to:Anonymous» brendoncrawford

Btopro,

I will probably add this in the next 2 weeks or so.

 
 

Drupal is a registered trademark of Dries Buytaert.