Mitja Zivkovic
b7e2d9c127
upd(system): check service grant permission on read and list
2019-02-27 14:13:33 +01:00
Mitja Zivkovic
ff22af4b33
upd(system): check service grant permissions
2019-02-27 09:20:55 +01:00
Denis Arh
9bed5005c6
Add permission checking capabilities, closes #43 , #42 , #44
2019-02-26 23:22:21 +01:00
Denis Arh
6985608449
Add system role everyone, closes #55
2019-02-26 21:32:28 +01:00
Mitja Zivkovic
2ecc83c52e
upd(messaging): add permission checking
2019-02-25 17:11:54 +01:00
Denis Arh
996a9fca67
Fix system REST api naming consistency (remove/delete)
2019-02-24 10:29:20 +01:00
Denis Arh
a5a50cff2e
Fix in/out payload types to string
2019-02-24 09:32:45 +01:00
Mitja Zivkovic
26a0668a83
upd(system): on create/update role also manage members
2019-02-24 09:32:45 +01:00
Denis Arh
e2c2c9df4a
Fix role membership management endpoints & ctrls
2019-02-24 09:32:22 +01:00
Denis Arh
518efe9c5c
Update permission list
...
Remove access from system and add grant to system and messaging
2019-02-23 14:46:05 +01:00
Mitja Zivkovic
47b798bbdc
upd(system) listing all defined permissions
2019-02-22 21:20:27 +01:00
Mitja Zivkovic
0a517bcd23
upd(system): permission.Get to Read
2019-02-22 20:03:01 +01:00
Mitja Zivkovic
09e64d654b
upd(system): permission update returns all permissions for given roleID
2019-02-22 19:52:34 +01:00
Mitja Zivkovic
c697ae2e13
upd(system): rename to rest/permission
2019-02-22 19:52:34 +01:00
Mitja Zivkovic
b380eef81b
upd(system): add permission validation
2019-02-22 19:52:34 +01:00
Tit Petric
568316615a
fix(system): use only resource for validation
2019-02-21 21:20:37 +01:00
Tit Petric
87a5d96852
add(system): resource and service validation
2019-02-21 20:56:52 +01:00
Mitja Zivkovic
8cc4551efc
upd(system): add Permissions API
2019-02-21 20:48:06 +01:00
Mitja Zivkovic
8015539aaa
fix(system): recreate mocks
2019-02-12 10:30:35 +07:00
Denis Arh
d4ff94d7ac
Codegen changes
2019-02-11 21:01:09 +01:00
Denis Arh
3911316321
Changes to system REST & service layer
2019-02-11 20:57:14 +01:00
Tit Petric
715530a13b
upd(all): rules refactor
...
- allow empty response for empty rules.Resource,
- rely more on rules.Access instead of bool,
- update resource test
2019-02-08 21:24:06 +01:00
Tit Petric
876a304def
upd(all):
...
- moved Access type from system to internal/rules,
- moved Resource from system to internal/rules,
- update imports for new type locations,
- add scope list container to inject permissions,
- update permissions API call to return default perms,
- update codegen for generated Rules types
2019-02-06 11:19:32 +01:00
Tit Petric
1e1a6f8e6a
upd(all): statik codegen update
2019-02-06 11:19:32 +01:00
Denis Arh
ccb3f957e7
Improved CLI for user handling
2019-02-06 05:37:38 +01:00
Tit Petric
087196f571
clean(all): gocritic warnings cleanup
2019-02-05 16:14:28 +01:00
Tit Petric
86c19a743d
upd(all): flags cleanup
2019-02-05 16:14:02 +01:00
Tit Petric
044eeecec0
upd(all): regenerate mocks
2019-02-05 15:51:40 +01:00
Tit Petric
f10c3cfbe7
upd(all): s/sam/messaging, del: build-proto.sh
2019-02-05 15:51:15 +01:00
Tit Petric
440d3514ed
upd(messaging): serviceError update
2019-02-05 15:41:04 +01:00
Tit Petric
27bc4c9064
add(system): TeamSet, OrganisationSet + Resource()
2019-02-05 14:41:57 +01:00
Tit Petric
d105adfed6
add(system): resource type and encoding
2019-02-05 14:41:57 +01:00
Denis Arh
c697c86ee5
Add system-cli and an user-merging tool
2019-02-04 10:15:38 +01:00
Denis Arh
7115949354
Add db connection retrying on startup
2019-02-04 10:15:38 +01:00
Tit Petric
eba7af3e5c
upd(system): update oidc state cookie domain
2019-01-30 02:03:00 +00:00
Mitja Zivkovic
4d57db5897
upd(internal): rbac.Operations to rules.Operations
2019-01-28 10:53:19 +01:00
Mitja Zivkovic
c0422a738a
upd(internal): types.Access and rules(Allow/Deny/Inherit)
2019-01-22 14:46:29 +01:00
Mitja Zivkovic
d9761cb7a1
upd(internal): rules.value as tinyint
2019-01-22 14:46:29 +01:00
Tit Petric
d17a6fb8aa
add(internal): rules feature
...
- add make test.rules target
- add rules api implementation
- add sql migration for rules table
- add unit tests to verify it works
2019-01-22 14:46:29 +01:00
Denis Arh
9557b0ebb5
Enable user filtering by email and username
2019-01-22 13:22:35 +01:00
Denis Arh
2748847ee9
Add (created|updated|delete)_by fields on record
...
Move data manipulation from repo to service layer
2019-01-21 14:42:07 +01:00
Tit Petric
5e6100d83a
upd(crm): update routes for consistency, middleware
2019-01-16 12:54:50 +01:00
Tit Petric
433c7a8288
upd(sam): restructure routes for consistency
2019-01-16 12:39:12 +01:00
Tit Petric
6cafce4d03
upd(system): additional route middleware, route context
2019-01-16 12:28:50 +01:00
Denis Arh
5c68ed109e
Cleanup, preloading improved
2019-01-15 18:16:18 +01:00
Denis Arh
ae733dc2c9
Credentials & social-sign-on, fixed mocks
2019-01-14 10:40:52 +01:00
Denis Arh
500e8e317c
Improve SMTP
...
API can now be started without properly configured SMTP (it complains when it is used)
Send() function can now use alternative dialers (mostly used for testing)
Added mailhog service (make mailhog.up) to ease mail testing
Add default .env example that points to localhost:1025 (mailhog) setup
Proper unit testing
2019-01-13 14:45:27 +01:00
Tit Petric
11b25bd091
update mocks for sam/ and system/
2019-01-11 15:28:49 +01:00
Tit Petric
513152c277
add(all): include SMTP flags into apps
2019-01-09 19:08:30 +01:00
Mitja Zivkovic
b02e542ae7
fix(system): add parsing of request to fill login parameters
2019-01-08 08:50:36 +01:00