Vendors should not be able to change their picture unless they are a Featured Vendor

Issue #52 closed
Jason Pollock created an issue

The custom image should not appear if they are not a featured vendor (on the listing or in their profile).

Comments (3)

  1. Jason Pollock reporter

    We may be able to do this with an additional module: https://www.drupal.org/project/field_permissions But even then we'd need a new user role of "Featured Vendor".

    The alternative would be to install said module and only allow admins to change the profile picture. Featured Vendors would then have to submit their pic to an admin.

  2. Josh Harmon repo owner

    I think we could get away with a form_alter hook and remove the field if the business is not a featured vendor.

  3. Log in to comment