Skip to content

Custom permission for uploading sources #262

@alexhebing

Description

@alexhebing

As part of release/0.0.3, I prevented newly registered users (who don't have staff status) from uploading sources. See commit ec4f04e. This involved removing the Upload button from the menu, and requiring IsAdmin permission on the backend. Non staff members will never upload sources. Guaranteed.

However, if the non-staff user goes to the /upload url, she will still see the form (if she tries to upload a source she will receive an error message). Do we want some sort of mechanism in place to prevent this type of thing?

@jgonggrijp : what do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions