Skip to content

initial_type refactoring #29

@jesteria

Description

@jesteria

The existing use of User.initial_type suggests some reconsideration.

  • A value of DSSG_STAFF dictates whether a user can use the custom admin page, (to approve volunteer profiles – but nothing else)
  • …While a value of ORGANIZATION dictates whether a user can perform some organizational functions
  • Users are given DSSG_STAFF only when created by developer CLI
  • …And either ORGANIZATION or VOLUNTEER during registration
  • Users should likely be given the opportunity to perform these functions regardless of how they were created/registered.
  • It is slightly odd that users have an "initial type" which dictates later permissions (and no further "type").

Documentation

Originally posted by @jesteria in #27 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions