Restrict uploading and editing images to the proper groups