leogermani
559e09ea31
add refactored tests for bulk edit #200
2019-12-13 18:23:16 -03:00
leogermani
d1bc919081
fix bulk edit group creation #200
2019-12-13 18:22:59 -03:00
Mateus Machado Luna
31bd513a7f
Makes processes dropdown appear once bulk edition modal is closed. #200 .
2019-12-13 12:04:49 -03:00
Mateus Machado Luna
e1f50c0125
Hides term insertion switch on metadata edition form if taxonomy does not allow new term insertion.
2019-12-13 10:58:26 -03:00
leogermani
c95dec7365
validation. not allow_new_terms if tax dont #274
2019-12-12 17:04:36 -03:00
leogermani
f3f7752f21
allow term creatino if allow_new_terms is yes #274
2019-12-12 16:50:35 -03:00
Mateus Machado Luna
6012201d21
Also passes item_id to term creation when in item edition form. #274 .
2019-12-12 16:28:33 -03:00
Mateus Machado Luna
0279468315
Hides collections from importer source list according to capability. Sends metadatum ID to term creation when in item edition form. #274 .
2019-12-12 16:14:35 -03:00
vnmedeiros
356d8a2a42
change possition `set_current_step` #200
2019-12-12 14:32:41 -03:00
Mateus Machado Luna
0042acef6c
Brings metadata and filter sorting back. #274 ,
2019-12-12 14:17:58 -03:00
leogermani
74f89c724b
endpoints to change meta and filters order #274
2019-12-12 11:01:31 -03:00
leogermani
eccd7d9db3
fix metadata endpoint permission check #274
2019-12-12 10:35:37 -03:00
Mateus Machado Luna
3097dac1bf
Prevents metadata or filter sorting when user can't edit collection. #274 .
2019-12-12 10:30:54 -03:00
Mateus Machado Luna
f238ec5ada
Fixes to filters, metadata and capabilities list access on collection level. #274 .
2019-12-12 09:49:23 -03:00
leogermani
453cc4b8a1
fix capablities list in roles retunr #274
2019-12-11 19:11:21 -03:00
Mateus Machado Luna
515312567f
Continues capabilities check on frontend. Fixes all collection edition via admin side. Hides some elements on importer form according to current_user_can... #274 .
2019-12-11 17:03:13 -03:00
Mateus Machado Luna
54bca9c733
Corrects header checking for tables.
2019-12-11 12:28:33 -03:00
Vinícius Nunes
a20eb33e73
use get_group_id() and set_group_id() #200
2019-12-11 11:30:51 -03:00
Vinícius Nunes
c41e2cfb15
Merge branch 'feature/200' of https://github.com/tainacan/tainacan into feature/200
2019-12-11 11:00:21 -03:00
Vinícius Nunes
3eb288f876
improve messages for the generic bg process #200
2019-12-11 11:00:01 -03:00
Mateus Machado Luna
b4b427fe66
Shows checkbox header on table according to permissions.
2019-12-11 10:28:20 -03:00
Mateus Machado Luna
2796029262
Removes status check that was hiding item edition form.
2019-12-11 10:05:01 -03:00
leogermani
61ed5b4e5d
refactor sequence edit front-end #200
...
Now independent from bulk edit
2019-12-11 08:50:38 -03:00
leogermani
04ed966369
Refactoring Sequence Edit API #200
...
Sequence edit now do not rely on Bulk edit actions.
Front end still needs to change
2019-12-10 22:15:50 -03:00
Mateus Machado Luna
b75d96c087
Updates on hidding strategy for checkboxes on items list.
2019-12-10 17:04:16 -03:00
leogermani
a472915b11
fix capabilities validation api roles #274
2019-12-10 16:51:05 -03:00
Mateus Machado Luna
2cc87e1683
Taxonomy filters watch metaquery and non-taxonomy filters watch taxquery for proper facets update.
2019-12-10 13:48:41 -03:00
Mateus Machado Luna
db269db8ca
Several updates to avoid acess to forbidden pages via URL #274 .
2019-12-10 12:59:26 -03:00
Vinícius Nunes
c2f02e048d
fix tests #200
2019-12-10 12:56:30 -03:00
Mateus Machado Luna
64d462f880
Checks permission on filters and metadata list instead of page to prevent loading on the page without permission. #274 .
2019-12-10 11:05:39 -03:00
Vinícius Nunes
e28729b023
multiples actions on same set of items selected #200
2019-12-10 10:26:05 -03:00
Mateus Machado Luna
8a0c15ae18
Continues revision on interface permissions. Updates Number of Capabilities count on roles list to match only true values. #274 .
2019-12-10 10:08:24 -03:00
leogermani
907d0df7b9
open context edit #274
...
context edit was basicaluu only hiding entity permissions.
No sensitive information. Removed cause needed in front-end
If sensitive info is added, check shoud be done when building response
2019-12-09 18:16:35 -03:00
leogermani
221e6b3ab8
return only tainacan caps on roles endpoint #274
2019-12-09 17:20:37 -03:00
Vinícius Nunes
fcc6b12499
create a steps to add control metadata #200
2019-12-09 17:00:27 -03:00
Mateus Machado Luna
f92a673449
Fixes taxonomy edition form loosing content due to not passing context edit after patch.
2019-12-09 16:41:09 -03:00
Mateus Machado Luna
eda4d553f5
Fixes wrong capabilities list update when beggining with an empty list. #274 .
2019-12-09 13:52:59 -03:00
Mateus Machado Luna
9ec2c6137e
Fixes child terms not displaying edition options due to wrong capability check.
2019-12-09 12:19:09 -03:00
Mateus Machado Luna
4d69a59d4f
Fixes filters page not accessible due to wrong capability name.
2019-12-09 10:29:52 -03:00
Mateus Machado Luna
9892aa33b4
Fixes capabilities list not opening edition form.
2019-12-09 10:14:03 -03:00
leogermani
f6527c5067
fix one test. waiting for others #200
2019-12-06 19:59:52 -03:00
Vinícius Nunes
41c0120ca3
remove dependencies of class Bulk_Edit on API #200
2019-12-06 18:27:29 -03:00
leogermani
0b1460cd1a
validate caps on roles endpoint #274
2019-12-06 16:53:49 -03:00
leogermani
58621f3538
verify permission on taxonomy importer #274
2019-12-06 16:29:06 -03:00
Mateus Machado Luna
3175d7e8d8
Finishes style and tooltips updates on roles list and edition form according to design. #274 .
2019-12-06 13:30:05 -03:00
Mateus Machado Luna
4f13c9bfc0
Begins capabilities verification at item edition form.
2019-12-06 09:30:09 -03:00
leogermani
cfabfa9067
importers check caps to add or edit items #274
2019-12-05 17:31:35 -03:00
leogermani
b5ad0defbc
add method to col entity to check capability #274
2019-12-05 17:30:47 -03:00
leogermani
f622a225b7
enable tainacan admin to all users #274
2019-12-05 16:51:41 -03:00
Mateus Machado Luna
edfc10e108
Shows not allowed message in case user accessed filters, metadata, activities or capabilities repository lists without permission. #274 .
2019-12-05 15:40:07 -03:00