mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-09 00:05:21 +01:00
feat: add users and groups API routes
This commit is contained in:
parent
96a29883cd
commit
4333bd58cf
8 changed files with 175 additions and 0 deletions
13
src-ui/src/app/services/rest/user.service.ts
Normal file
13
src-ui/src/app/services/rest/user.service.ts
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
import { HttpClient } from '@angular/common/http'
|
||||
import { Injectable } from '@angular/core'
|
||||
import { PaperlessUser } from 'src/app/data/paperless-user'
|
||||
import { AbstractNameFilterService } from './abstract-name-filter-service'
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root',
|
||||
})
|
||||
export class UserService extends AbstractNameFilterService<PaperlessUser> {
|
||||
constructor(http: HttpClient) {
|
||||
super(http, 'users')
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue