Any user without flickrsync permissions has "Flickr sync settings" fieldset enabled in his account edit page.

Comments

Alessandro Pezzato’s picture

Adding these three lines at the beginning of flickrsync_form_user_profile_form_alter hides the fieldset to users without permissions.

  if (!user_access('import from flickr')) {
    return;
  }
gclicon’s picture

Assigned: Unassigned » gclicon

Thanks for the note, I will review and commit your update as soon as I can.

gclicon’s picture

worked like a charm. I committed your update. thanks.

gclicon’s picture

Status: Active » Fixed

setting to fixed.

Status: Fixed » Closed (fixed)

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