Add backups, currencies and dashboard APIs, and scope access by guard_name.
Web users may only CRUD their own records, operators stay in assigned branches, and admin/manager/superadmin keep full access. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
6
app.go
6
app.go
@@ -46,10 +46,16 @@ import (
|
||||
// @tag.description Loan repayments
|
||||
// @tag.name card-orders
|
||||
// @tag.description Card orders
|
||||
// @tag.name card-rekwizit-orders
|
||||
// @tag.description Card rekwizit (card details) orders
|
||||
// @tag.name activity-logs
|
||||
// @tag.description User activity audit trail
|
||||
// @tag.name visa-master-payment-orders
|
||||
// @tag.description Visa/Master student-transfer payment orders
|
||||
// @tag.name backups
|
||||
// @tag.description Database SQL backups
|
||||
// @tag.name currencies
|
||||
// @tag.description Currency exchange rates
|
||||
func main() {
|
||||
cfg := config.GetConfig()
|
||||
logger := logging.GetLogger()
|
||||
|
||||
Reference in New Issue
Block a user