aboutsummaryrefslogtreecommitdiffhomepage
path: root/app
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2016-09-30 20:09:06 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2016-10-02 11:08:53 +0200
commit152fcccd4489378a8ed9391e3e191df4aeba6435 (patch)
treec64685be77d9e850d5370c66fac3ffb5b12f095b /app
parent52c1fc7449554c942c945e6c740e0e11d2f60a0d (diff)
downloadwallabag-152fcccd4489378a8ed9391e3e191df4aeba6435.tar.gz
wallabag-152fcccd4489378a8ed9391e3e191df4aeba6435.tar.zst
wallabag-152fcccd4489378a8ed9391e3e191df4aeba6435.zip
Add users management UI
- remove the “add a user” from the config page - add a CRUD on user - fix some missing translations (+ bad indentation)
Diffstat (limited to 'app')
-rw-r--r--app/config/routing.yml5
-rw-r--r--app/config/security.yml1
2 files changed, 6 insertions, 0 deletions
diff --git a/app/config/routing.yml b/app/config/routing.yml
index 40cc7165..2be74d7f 100644
--- a/app/config/routing.yml
+++ b/app/config/routing.yml
@@ -7,6 +7,11 @@ wallabag_import:
7 type: annotation 7 type: annotation
8 prefix: /import 8 prefix: /import
9 9
10wallabag_user:
11 resource: "@WallabagUserBundle/Controller/"
12 type: annotation
13 prefix: /users
14
10wallabag_api: 15wallabag_api:
11 resource: "@WallabagApiBundle/Resources/config/routing.yml" 16 resource: "@WallabagApiBundle/Resources/config/routing.yml"
12 prefix: / 17 prefix: /
diff --git a/app/config/security.yml b/app/config/security.yml
index 1f30e58b..efb00a53 100644
--- a/app/config/security.yml
+++ b/app/config/security.yml
@@ -63,4 +63,5 @@ security:
63 - { path: ^/share, roles: IS_AUTHENTICATED_ANONYMOUSLY } 63 - { path: ^/share, roles: IS_AUTHENTICATED_ANONYMOUSLY }
64 - { path: ^/settings, roles: ROLE_SUPER_ADMIN } 64 - { path: ^/settings, roles: ROLE_SUPER_ADMIN }
65 - { path: ^/annotations, roles: ROLE_USER } 65 - { path: ^/annotations, roles: ROLE_USER }
66 - { path: ^/users, roles: ROLE_SUPER_ADMIN }
66 - { path: ^/, roles: ROLE_USER } 67 - { path: ^/, roles: ROLE_USER }