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
e352f065c3
Add /permissions/effective endpoint, missing operations
2019-03-12 17:51:18 +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
5e14803b58
Fix logging in subscription check
2019-03-12 00:30:01 +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
Denis Arh
93eb629d06
Refactor subscription checking, add interval checks (1/24h)
2019-03-11 11:46:29 +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
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
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
Tit Petric
cef557e1ee
fix(internal): test.Error caller information
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
654201aa73
upd(messaging): permission API with DB
2019-02-15 20:32:15 +01:00
Mitja Zivkovic
ea71c581f3
upd(messaging): messaging repository/permissions to service/rules
2019-02-14 16:44:02 +01:00
Mitja Zivkovic
f155f48bdf
upd(messaging): permissions to rules
2019-02-14 16:28:39 +01:00
Mitja Zivkovic
a0e41d1b92
fix(internal): rbac uses user.ID for actions
2019-02-12 18:10:38 +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
Tit Petric
087196f571
clean(all): gocritic warnings cleanup
2019-02-05 16:14:28 +01:00
Tit Petric
f10c3cfbe7
upd(all): s/sam/messaging, del: build-proto.sh
2019-02-05 15:51:15 +01:00
Tit Petric
94c6f4c94e
upd(internal): s/sam/messaging for payload/outgoing
2019-02-05 15:29:55 +01:00
Tit Petric
e9609287a9
upd(messaging): update import paths
2019-02-05 15:15:08 +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
Tit Petric
8da5692762
upd(docker): expose port 80 by default
2019-01-29 23:57:35 +00: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
Denis Arh
26ddcab2c1
Add channel-membership flagging capabilities
2019-01-22 21:27:52 +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
Mitja Zivkovic
8271790282
upd(internal): ErrNil into NoError
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
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
Denis Arh
14a344c7a1
Unread messages, reworked
2019-01-17 19:49:40 +01:00
Denis Arh
ae733dc2c9
Credentials & social-sign-on, fixed mocks
2019-01-14 10:40:52 +01:00
Denis Arh
7c36966e68
Notification endpoint (for sending emails from the CRM)
2019-01-13 19:08:26 +01:00