Admin Panel
Awaiting Access...
If you don't want random people to create an account on your pastefy instance but you still want your friends to have access on your pastefy? There is a new setting called:
PASTEFY_GRANT_ACCESS_REQUIRED=true # default is `false`
When someone registers on pastefy, you'll have to grant the access:
Admin-Panel
The new Admin-Panel allows you to get an overview of existing pastes, delete them, have an overview of your users.
The url is /admin
.
If you want to give yourself the admin role, you have to log into your MySQL server and set type
on your account to ADMIN
in the pastefy_users
table.
New API endpoints
# /paste, /folder: Endpoints where you get a list of all pastes or folders
PASTEFY_LIST_PASTES=false
# /app/stats to get the count of pastes on the server
PASTEFY_PUBLIC_STATS=false
And new Admin endpoints (See AdminController.java
)