Edit permissions for Signup Chairs

Viewing 1 reply thread
  • Author
    Posts
    • #7789
      Ulf Schenk
      Participant

      Hi Stephen,

      Not sure if this is already possible so I file it as enhancement.

      Request for finer permission granularity:
      It would be great if we could assign a chair (or another specific persons) the role of an signup editor having the capability to manage/modify only their dedicated sheets, tasks and to clear signups for their tasks.
      Right now if I assign the role manage_signup_sheets to a user, the user can modify all sheets, even the ones that are not related to him.

      For this to work, I guess the Chairs (or chairs) must be stored as users within each sheet (or stored as record owner if you will) and then we can use this information to allow/deny access to specific sheets, tasks and signups?

      What is your take on this idea?

      Thanks,
      Ulf

    • #7791
      Stephen Sherrard
      Keymaster

      Hi Ulf,

      That would qualify as a feature request, and should go into that forum.

      Since sign-up sheets are NOT a custom post type (but, rather, stored in their own custom tables), there is no way in the current database structure to set the author of the sheet.

      So, this new idea/feature would require quite a bit of code change, as well as a database table upgrade. Each sheet would need to have an “author” type of field to save the user id of the person creating the sheet. Then, we have to go back through all the admin side code and add additional checks to see if the author matches the current user before they are allowed to edit that sheet.

      But, then what happens if there are several chair people for an event/task? Then we need to be able to check against multiple author ids. In that case, it would probably make more sense to create a small relational table that saves sheet id and author/id so there could be any number of authors.

      Not possible in the current release of the plugin, but feel free to add it to the feature requests.

Viewing 1 reply thread
  • You must be logged in to reply to this topic.