Mitja Zivkovic
0a517bcd23
upd(system): permission.Get to Read
2019-02-22 20:03:01 +01:00
Mitja Zivkovic
247c7df436
upd(internal) add json tags for rules.Rule
2019-02-22 19:52:34 +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
Mitja Zivkovic
2bda8ee34c
upd(internal): remove unused rule functions
2019-02-21 23:07:09 +01:00
Tit Petric
568316615a
fix(system): use only resource for validation
2019-02-21 21:20:37 +01:00
Tit Petric
cef557e1ee
fix(internal): test.Error caller information
2019-02-21 20:56:52 +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
Denis Arh
cbfdb34db0
Fix permission path pt.2
2019-02-19 19:51:54 +01:00
Mitja Zivkovic
2bcf294191
fix(messaging): removed double permission word in path
2019-02-19 09:21:38 +07: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
Denis Arh
f0d21263e6
Check types before converting numerics in CRM report builder
2019-02-14 06:14:41 +01:00
Mitja Zivkovic
a0e41d1b92
fix(internal): rbac uses user.ID for actions
2019-02-12 18:10:38 +01:00
Mitja Zivkovic
8015539aaa
fix(system): recreate mocks
2019-02-12 10:30:35 +07:00
Mitja Zivkovic
792f6b6490
fix(internal): change parameter order
2019-02-12 10:29:37 +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
5b2cacd871
fix(internal): rules tests for new api
2019-02-08 21:24:06 +01:00
Tit Petric
fe27d14a41
add(messaging): permissions repository 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
e16f24518d
upd(messaging): extend permissions codegen
2019-02-08 21:24:06 +01:00
Tit Petric
8984dd4fa5
upd(messaging): more specific permission keys
2019-02-08 21:24:06 +01:00
Tit Petric
960c06efb0
upd(messaging): additional permissions, cleanup
2019-02-08 21:24:06 +01:00
Tit Petric
6b48ddc7a1
upd(messaging): messages prefix in code
2019-02-08 21:23:48 +01:00
Tit Petric
84c656e8f9
upd(messaging): attachments prefix in code
2019-02-08 21:23:48 +01:00
Tit Petric
2b0677f35d
upd(messaging): mentions prefix in code
2019-02-08 21:23:48 +01:00
Tit Petric
b1e06c61eb
upd(messaging): channels prefix in code
2019-02-08 21:23:48 +01:00
Tit Petric
dbaf2c2c40
upd(messaging): unreads prefix in code
2019-02-08 21:23:48 +01:00
Tit Petric
3c2725db3b
upd(messaging): channel_members prefix in code
2019-02-08 21:23:48 +01:00
Tit Petric
bbcbe3388a
upd(messaging): message_attachment prefix in code
2019-02-08 21:23:48 +01:00
Tit Petric
15f02e192b
upd(messaging): message_flags prefix in code
2019-02-08 21:23:48 +01:00
Tit Petric
70bf874f4f
add(messaging): migration to prefix sql tables
2019-02-08 21:23:48 +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
Denis Arh
387f7d5af7
Merge remote-tracking branch 'origin/refactor/sam-to-messaging'
2019-02-05 17:55:56 +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
952f590b2f
upd(Makefile): remove unused dependencies
2019-02-05 16:13:38 +01:00
Tit Petric
e56ede6035
fix(crm): prevent variable shadowing for new
2019-02-05 16:13:15 +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
94c6f4c94e
upd(internal): s/sam/messaging for payload/outgoing
2019-02-05 15:29:55 +01:00
Tit Petric
b8267f4a64
fix(crm): fix test prefix, s/sam/messaging
2019-02-05 15:29:33 +01:00
Tit Petric
3ff2e035ef
upd(all): update cmd, add internal/mail to all
2019-02-05 15:25:16 +01:00