Commit Graph
819 Commits
Author SHA1 Message Date
Mitja Zivkovic 2ecc83c52e upd(messaging): add permission checking 2019-02-25 17:11:54 +01:00
crustcrm1 397278a8d8 Fixed some typos 2019-02-25 15:34:00 +01:00
crustcrm1 bbab678284 Updated the readme file 2019-02-25 15:31:21 +01:00
Denis Arh 996a9fca67 Fix system REST api naming consistency (remove/delete) 2019-02-24 10:29:20 +01:00
Denis Arh bbaa78b297 Merge branch 'role-membership-management-fix' 2019-02-24 09:32:55 +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
Denis Arh 79eda44cf1 Fix rule value json un/marshaling 2019-02-22 21:19:07 +01:00
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