Configurable permissions over API endpoints?

Is it possible to configure drone so that people without write access to the repository can restart their builds or deploy code?