CVS edit link for corey.aufang

Administering permissions for a particular CCK field can be annoying when you have numerous (100+) fields.

Utilizing the Modal Frame API module, you can now easily change the permissions for a specific CCK field without having to search through multiple hundred permissions.

I believe that this module could help many people in the community when they build sites that need field specific permissions.

Comments

corey.aufang’s picture

StatusFileSize
new1.65 KB

Here is the module.

All it requires is content_permissions and modalframe to be enabled.

From the field edit page, you will see a link in the upper right corner of the "Basic Information" fieldset.

Clicking it will launch a modal frame with the permissions form filtered to the field you are currently editing.

corey.aufang’s picture

Status: Postponed (maintainer needs more info) » Needs review

Forgot to update status.

avpaderno’s picture

Issue tags: +Module review

Hello, and thanks for applying for a CVS account. I am adding the review tags, and some volunteers will review your code.

As per Apply for contributions CVS access, the motivation message should be expanded, and report the differences existing with projects already in Drupal.org repository. Why doesn't the module change the way all the permissions are listed, rather than changing only the CCK field permissions?

avpaderno’s picture

Status: Needs review » Needs work

I forgot to change status.

corey.aufang’s picture

I've worked on several projects where we have had hundreds of fields. Trying to administer field permissions for that many fields can get very frustrating, having to scroll through the list, and also having the view and edit permissions separated by hundreds of lines.

By creating this module, I sought out a way to remove the frustration that I and my team experience when having to adjust field permissions.

All the modules that I found pertaining to field permissions have ways of giving new types of permissions to fields, none are simply about administering existing permissions for fields.

The simplest way to edit permissions for a individual field way to load the whole permissions form, and just hide everything that wasn't the current field. I do this in a modal frame that is opened from the field settings page which provides a quick access to the specific field's permissions.

corey.aufang’s picture

Status: Needs work » Needs review

forgot status again :/

corey.aufang’s picture

StatusFileSize
new24.77 KB
new15.15 KB

Here's a couple of screen shots showing the functionality.

The first one show where the link is placed on the field settings page.

The second one shows the modal frame and the filtered permissions form that is displayed after clicking on the link.

corey.aufang’s picture

StatusFileSize
new1.54 KB

corrected some CVS header comments

avpaderno’s picture

Status: Needs review » Fixed

Thank you for your contribution! I am going to update your account.
These are some recommended readings to help with excellent maintainership:

You can find more contributors chatting on the IRC #drupal-contribute channel. So, come hang out and stay involved.
Thank you, also, for your patience with the review process.
Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.

I thank all the dedicated reviewers as well.

Status: Fixed » Closed (fixed)
Issue tags: -Module review

Automatically closed -- issue fixed for 2 weeks with no activity.

avpaderno’s picture

Component: Miscellaneous » new project application
Assigned: Unassigned » avpaderno
Issue summary: View changes