anchor.diff:                      {acl_user_group_id, acl_user_group_anonymous},
                       {actions, [view]}
                   ]},
  -                %% Members can edit their own profile. This requires insert rights on
  -                %% category person because of acl_rsc_update_check:acl_rsc_update_check/3.
  +                %% Members can edit their own profile.
                   {rsc, [
                       {acl_user_group_id, acl_user_group_members},
  -                    {actions, [insert, link]},
  -                    {category_id, person}
  +                    {actions, [update, link]},
  +                    {category_id, person},
  +                    {is_owner, true}
                   ]},
                   %% Members can upload media, for instance a profile picture.
                   {rsc, [
  
positive.code: -mod_description("Ginger Base").
  -mod_prio(250).
  -mod_depends([mod_content_groups, mod_acl_user_groups]).
  -mod_schema(6).
  
  -export([
      init/1,
  
negative.code:                     {actions, [insert]},
                      {category_id, media}
                  ]},
                  {rsc, [
                      {acl_user_group_id, acl_user_group_members},
                      {actions, [update, delete]},
                      {category_id, media},
                      {is_owner, true}
                  ]},
                  %% Editors can edit everything, including resources created by other editors
                  {rsc, [
                      {acl_user_group_id, acl_user_group_editors},
                      {actions, [view, insert, update, delete, link]}
                  ]},
  