Skip to content

Commit

Permalink
feat: work on accessAPI pages (GET and POST)
Browse files Browse the repository at this point in the history
  • Loading branch information
brettz9 committed Sep 15, 2024
1 parent 3021302 commit d338734
Show file tree
Hide file tree
Showing 34 changed files with 1,970 additions and 41 deletions.
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGES for nogin

## ?

- feat: `/groups` page

## 6.5.0

- feat: `/users` page delete ability for root users
Expand Down
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -277,8 +277,8 @@ export default function fallback (req, res, next) {

- `--router` - This is where your own (Express) app should be. Note: The following
paths should not be set as they are reserved by nogin:
- POST: `/login`, `/logout`, `/home`, `/signup`, `/lost-password`, `/reset-password`, `/delete`, `/reset`
- GET: `/login`, `/home`, `/signup`, `/reset-password`, `/activation`, `/users`, `/coverage`, `/api` (reserved for possible future use)
- POST: `/login`, `/logout`, `/home`, `/signup`, `/lost-password`, `/reset-password`, `/delete`, `/reset`, `/accessAPI`
- GET: `/login`, `/home`, `/signup`, `/reset-password`, `/activation`, `/users`, `/coverage`, `/accessAPI`, `/groups`, `/privileges` (reserved)

```js
/**
Expand Down Expand Up @@ -532,7 +532,10 @@ For developing docs, see [DEVELOPING](./docs/DEVELOPING.md).
## Lower priority to-dos

1. Add `/user/<username>` (GET) script for admins and others
1. Add `/api` (GET) to explain API and also possibly consolidate to one page?
1. Add `/group/<groupname>` (GET) script for admins and others
1. Add to `/accessAPI` (GET) to explain API and also possibly consolidate
to one page?
1. Could make groups hierarchical (multiple? inheritance privileges)
1. Allow variant of `localScripts` which uses CDN but generates fallback
1. Option to **email forgotten username** (as a workaround, the reset
password email will send this currently, but not if adding an option to
Expand Down
2 changes: 2 additions & 0 deletions app/public/js/controllers/groupsController.iife.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions app/public/js/controllers/groupsController.iife.min.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit d338734

Please sign in to comment.