Denis Arh
3026a594ed
Decupling system & messaging, removing Organisation type mess
2019-04-26 14:37:23 +02:00
Denis Arh
d18473568e
Basic credentials set/check
2019-04-09 08:58:31 +02:00
Denis Arh
6719d2cdf8
Move role/rule reset code out of repository to CLI command
2019-04-03 23:09:34 +02:00
Denis Arh
ee4b66e53d
Fix makefile, add updated mockfiles
...
Remove `make test`, we do not want it to test codegen files
Add make `test.internal`
2019-04-03 18:09:13 +02:00
Tit Petric
3f24e99ba3
fix(internal): test suite updates
2019-04-03 13:50:15 +02:00
Tit Petric
7ea763373e
upd(internal): return Allow for testing context
2019-04-03 13:47:33 +02:00
Tit Petric
1fae71c5b7
upd(internal): regenerate resources mocks
2019-03-21 15:13:22 +01:00
Denis Arh
78763c715d
Refactor permission resources
2019-03-16 23:56:45 +01:00
Tit Petric
22e88c1698
fix(system): fix tests in system, closes #67
2019-03-15 01:50:29 +01:00
Tit Petric
e8d2be4968
upd(all): update mocks
2019-03-15 00:31:25 +01:00
Tit Petric
a8c5cc227d
upd(internal): remove unused operations and scope
2019-03-14 23:45:48 +01:00
Mitja Zivkovic
9bc361f1d1
fix(internal): rules tests are run in transaction
2019-03-13 20:22:02 +01:00
Denis Arh
1c74f30b19
Fail fast on permission check in case of invalid identity
2019-03-13 07:18:01 +01:00
Denis Arh
c6bb0afc9f
Basic checks added
2019-03-12 08:48:03 +01:00
Mitja Zivkovic
9f494a37f9
upd(messaging) channel permission checks
2019-03-12 01:01:03 +01:00
Denis Arh
d8c2594fa8
Fix application resource presets
2019-03-11 18:39:54 +01:00
Denis Arh
de53206c27
Fix handling wildcarded lookups on global resources
2019-03-11 14:12:27 +01:00
Mitja Zivkovic
b6ac8f9305
upd(internal): permission check order
2019-02-28 19:48:38 +03:00
Mitja Zivkovic
f1df2dbb9e
add(internal): rules.resources mock
2019-02-27 23:36:10 +03:00
Mitja Zivkovic
aa39d4e052
upd(internal): rules test with savepoint
2019-02-27 20:47:38 +01:00
Mitja Zivkovic
ff22af4b33
upd(system): check service grant permissions
2019-02-27 09:20:55 +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
Mitja Zivkovic
47b798bbdc
upd(system) listing all defined permissions
2019-02-22 21:20:27 +01:00
Denis Arh
79eda44cf1
Fix rule value json un/marshaling
2019-02-22 21:19:07 +01:00
Mitja Zivkovic
247c7df436
upd(internal) add json tags for rules.Rule
2019-02-22 19:52:34 +01:00
Mitja Zivkovic
b380eef81b
upd(system): add permission validation
2019-02-22 19:52:34 +01:00
Mitja Zivkovic
2bda8ee34c
upd(internal): remove unused rule functions
2019-02-21 23:07:09 +01:00
Mitja Zivkovic
8cc4551efc
upd(system): add Permissions API
2019-02-21 20:48:06 +01:00
Mitja Zivkovic
f155f48bdf
upd(messaging): permissions to rules
2019-02-14 16:28:39 +01:00
Mitja Zivkovic
792f6b6490
fix(internal): change parameter order
2019-02-12 10:29:37 +07:00
Tit Petric
5b2cacd871
fix(internal): rules tests for new api
2019-02-08 21:24:06 +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
Mitja Zivkovic
4d57db5897
upd(internal): rbac.Operations to rules.Operations
2019-01-28 10:53:19 +01:00
Mitja Zivkovic
3747bce99d
upd(internal): add ListGrants
2019-01-24 08:31:55 +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
Mitja Zivkovic
578363d8f8
upd(internal): must/mustFail to NoError/Error
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