Mojca Lorber
|
6e8062179c
|
Implement archiving and restoring of whole inventories
|
2020-06-18 18:07:23 +02:00 |
|
Miha Mencin
|
26f4f24cc6
|
SCI-4674 fix stupid
|
2020-05-25 16:30:22 +02:00 |
|
Miha Mencin
|
77e1feda97
|
SCI-4674 name permissions more properly
|
2020-05-25 16:29:00 +02:00 |
|
Miha Mencin
|
5f195b3622
|
SCI-4674 check if experiment and projects are active during snapshot creation
|
2020-05-25 15:56:39 +02:00 |
|
Miha Mencin
|
5994e8c6a6
|
SCI-4674 create special permissions for snapshots on task
|
2020-05-25 15:49:31 +02:00 |
|
Oleksii Kriuchykhin
|
c0521c3ca7
|
Prevent the inventory items editing while snapshot is being created [SCI-4629]
|
2020-05-15 17:46:59 +02:00 |
|
Oleksii Kriuchykhin
|
25f9c5bc7d
|
Refactor Repository permissions and implement deduplication for files in snapshots [SCI-4597]
|
2020-05-06 15:17:54 +02:00 |
|
Oleksii Kriuchykhin
|
f811d11c59
|
Add versions sidebar to assigned repository rows full view modal [SCI-4525]
|
2020-04-21 14:49:36 +02:00 |
|
Oleksii Kriuchykhin
|
3a67c99982
|
Switch to STI for repositories, fix cell values snapshotting [SCI-4516]
|
2020-04-09 12:33:04 +02:00 |
|
Oleksii Kriuchykhin
|
a9c3102835
|
Add repository snapshots with service, refactor item assigning [SCI-4516]
|
2020-04-07 18:26:39 +02:00 |
|
Oleksii Kriuchykhin
|
02817a5a1e
|
Refactor inventory limit checks [SCI-4434]
|
2020-03-05 15:26:25 +01:00 |
|
Alex Kriuchykhin
|
f201826eb8
|
Merge pull request #2426 from okriuchykhin/ok_SCI_4383
Add global repositories limit [SCI-4383]
|
2020-03-05 12:45:02 +01:00 |
|
Oleksii Kriuchykhin
|
62c19f7c02
|
Add invite users to the team permission check [SCI-4381]
|
2020-02-26 17:25:38 +01:00 |
|
Oleksii Kriuchykhin
|
63e557ea9e
|
Add global repositories limit [SCI-4383]
|
2020-02-21 14:40:17 +01:00 |
|
Miha Mencin
|
04a6645cfc
|
Separate view/edit/modify permissions SCI-4058
|
2019-11-20 17:12:47 +01:00 |
|
Oleksii Kriuchykhin
|
3509543e7b
|
Merge branch 'master' into ok_SCI_3881
|
2019-09-16 11:56:49 +02:00 |
|
Oleksii Kriuchykhin
|
c068901b00
|
Upgrade Rails to 6.0 [SCI-3745]
|
2019-09-12 17:24:08 +02:00 |
|
aignatov-bio
|
0810699770
|
Update shared inventory permissions [SCI-3802] (#2009)
* Update shared inventory permissions
* Fix tests and simplify condition for placeholder
|
2019-08-23 10:57:02 +02:00 |
|
Anton Ignatov
|
a2c50cbe38
|
Add new permission check for share button
|
2019-08-20 15:08:53 +02:00 |
|
Urban Rotnik
|
0ce331227c
|
Update permission and model to share repository over all teams
|
2019-08-13 14:07:24 +02:00 |
|
Mojca Lorber
|
b005f90e95
|
Add tests for permission can_read_repository
|
2019-08-09 14:13:01 +02:00 |
|
Mojca Lorber
|
7e9be932f3
|
Make scope for repositories accessible by teams and simplify read permission
|
2019-08-09 14:13:00 +02:00 |
|
Mojca Lorber
|
cac7dab440
|
Show shared inventories in left navigation and fix read repository permission
|
2019-08-09 14:13:00 +02:00 |
|
Urban Rotnik
|
077369d960
|
Update permissions for Repositories
|
2019-08-09 14:12:59 +02:00 |
|
Luka Murn
|
83bb89fdf5
|
Cherry-picked commit from ZZ (and LM)'s various changes
|
2019-07-26 10:13:14 +02:00 |
|
Jure Grabnar
|
04b1d0e142
|
Remove blank line
|
2018-10-26 11:00:13 +02:00 |
|
Jure Grabnar
|
3903b4a6f2
|
Refactor read_project/export_project permissions
|
2018-10-26 10:58:59 +02:00 |
|
Jure Grabnar
|
bd5a2a43fd
|
Add can_export_project? permission
Closes [SCI-2805].
|
2018-10-19 08:41:39 +02:00 |
|
Oleksii Kriuchykhin
|
8ec643c54b
|
Move REPOSITORIES_LIMIT from constants to env variables [SCI-2301]
|
2018-05-09 18:03:16 +02:00 |
|
Luka Murn
|
cb6fe50832
|
Merge branch 'master' into ux-release-1
Conflicts:
app/assets/javascripts/repositories/index.js
|
2018-04-26 11:38:54 +02:00 |
|
zmagod
|
199a2a23bf
|
fixes per @mlorb 's request
|
2018-04-23 12:26:21 +02:00 |
|
zmagod
|
9d282d1800
|
adds new reports index page [fixes SCI-2124]
|
2018-04-18 16:47:52 +02:00 |
|
Oleksii Kriuchykhin
|
d8d2d75631
|
Fix repository rows permissions [SCI-2265]
|
2018-04-02 20:48:44 +02:00 |
|
zmagod
|
659a088058
|
refactor smart annotation parser, adds repository item to smart annotation parser [fixes SCI-2222]
|
2018-03-29 15:55:26 +02:00 |
|
Oleksii Kriuchykhin
|
aa69624f9f
|
Fix sample assign permissions [SCI-2249]
|
2018-03-25 20:10:32 +02:00 |
|
Oleksii Kriuchykhin
|
cd9260f439
|
Hide delete button for guest users in repository [SCI-2163]
|
2018-03-09 16:19:36 +01:00 |
|
Oleksii Kriuchykhin
|
bd9f5c1cda
|
Fix manage repository permissions [SCI-2136]
|
2018-03-07 13:41:57 +01:00 |
|
Oleksii Kriuchykhin
|
b5eb821cfa
|
Fix sample's custom column permissions [SCI-2135]
|
2018-03-06 16:40:25 +01:00 |
|
Matej Zrimšek
|
fa7710fb80
|
Forgot to remove unneeded code form permissions after the previous refactoring.
|
2018-03-04 15:17:46 +01:00 |
|
Matej Zrimšek
|
53f75f3cd6
|
Minor permissions and their calls refactoring and fixing.
|
2018-03-04 14:49:41 +01:00 |
|
Matej Zrimšek
|
5724f8ed4d
|
Minor permissions refactoring, including putting the same checks for multiple permissions before the specific ones, hence preventing further evaluation if those permissions are not met.
|
2018-03-04 14:19:17 +01:00 |
|
Matej Zrimšek
|
1904099954
|
Put permissions helper methods inside utility module.
|
2018-02-21 20:22:13 +01:00 |
|
Matej Zrimšek
|
b8b9707c06
|
Fixed protocol and archive permission calls, fixed result permissions; module group managing is now also allowed on newly created groups; other permission call fixes and some refactoring.
|
2018-02-19 14:51:14 +01:00 |
|
Matej Zrimšek
|
7b07e7b347
|
Fixed protocol in repository permissions, and refactored it a bit.
|
2018-02-16 12:04:11 +01:00 |
|
Matej Zrimšek
|
5bda53eebf
|
Overall refactoring of all canaid permissions and code related to their calls.
|
2018-02-16 10:54:06 +01:00 |
|
Matej Zrimšek
|
ac5b65b121
|
Added some additional comments for checking if project is active in permissions.
|
2018-02-14 14:39:10 +01:00 |
|
Matej Zrimšek
|
d571ab2ed8
|
Fixed comments permissions for experiment level.
|
2018-02-14 14:39:10 +01:00 |
|
Matej Zrimšek
|
6b1fee4d30
|
Added/joined repository record assignment to task with sample assignmment to task.
|
2018-02-14 14:39:10 +01:00 |
|
Matej Zrimšek
|
f21c794a95
|
Fixed permission error when accessing samples page.
|
2018-02-14 14:39:09 +01:00 |
|
Matej Zrimšek
|
68206cb591
|
Added missing checks for whether task/experiment/project is active for experiment level permissions. Minor code refactoring and restyling.
|
2018-02-14 14:39:08 +01:00 |
|
Matej Zrimšek
|
8ef6c8f91f
|
Refactored remaining experiment level permissions (and everything below it).
|
2018-02-14 14:39:07 +01:00 |
|
Matej Zrimšek
|
879eda2d8f
|
Minor experiment level permissions refactoring.
|
2018-02-14 14:19:22 +01:00 |
|
Matej Zrimšek
|
0706d16020
|
Readded module level archive, move, clone and manag permissions. Corrected their usage and add the permissions check in some additional places.
|
2018-02-14 14:19:22 +01:00 |
|
Matej Zrimšek
|
c5b798017e
|
Minor Hound warning fixes.
|
2018-02-14 14:19:22 +01:00 |
|
Matej Zrimšek
|
d6e7ef465c
|
Grouped remaining permissions for experiment, protocol, task, and partially step levels. [SCI-1964]
|
2018-02-14 14:19:22 +01:00 |
|
Matej Zrimšek
|
854333b0e6
|
Grouped permissions for experiment with canaid gem (WIP).
|
2018-02-14 14:19:00 +01:00 |
|
Matej Zrimšek
|
70fdae567c
|
Forgot to add check whether project is active for archive project permission. Added some additional comments for checking if project is active in permissions.
|
2018-02-14 13:16:32 +01:00 |
|
Matej Zrimšek
|
c09ffa4043
|
Project permissions comments change.
|
2018-02-14 13:16:32 +01:00 |
|
Matej Zrimšek
|
d058c371d4
|
Readded project archive permission.
|
2018-02-14 13:16:32 +01:00 |
|
Matej Zrimšek
|
e36ec69ca9
|
Project level permissions refactoring (mostly names).
|
2018-02-14 13:16:32 +01:00 |
|
Matej Zrimšek
|
93536afcd5
|
Renamed permission 'update_project' to 'manage_project'. Some permissions fixes; added them in some places where they were missing.
|
2018-02-14 13:16:32 +01:00 |
|
Matej Zrimšek
|
13e9a2a132
|
Corrected some project level permissions; minor refactoring.
|
2018-02-14 13:16:32 +01:00 |
|
Matej Zrimšek
|
d423700e84
|
Used permissions where they were missing.
|
2018-02-14 13:16:32 +01:00 |
|
Matej Zrimšek
|
321ddc2916
|
Grouped existing project permissions and used 'canaid' gem.
|
2018-02-14 13:09:45 +01:00 |
|
Zmago Devetak
|
4b2098c0c4
|
removes unneeded permissions
|
2018-01-24 16:34:48 +01:00 |
|
zmagod
|
259880c441
|
add permission helpers for view project and experiment
|
2018-01-23 08:52:10 +01:00 |
|
mlorb
|
fd6dfbd561
|
rename create_teams
|
2018-01-05 16:47:48 +01:00 |
|
mlorb
|
99185871c4
|
fix naming things
|
2018-01-05 15:15:50 +01:00 |
|
mlorb
|
70ae14a9b8
|
refactor manage repository permissions again because of addons
|
2018-01-05 11:17:01 +01:00 |
|
mlorb
|
ec851caa80
|
refactor manage repository column permissions again because of addons
|
2018-01-05 10:43:59 +01:00 |
|
mlorb
|
abced181d5
|
refactor manage repository rows permissions again because of addons
|
2018-01-04 11:53:58 +01:00 |
|
mlorb
|
0c519b8f03
|
refactor manage sample elements permissions again because of addons
|
2018-01-03 16:37:02 +01:00 |
|
mlorb
|
0774b6f7e6
|
refactor manage samples permissions again, so that addons permissions can be added
|
2017-12-20 16:05:05 +01:00 |
|
mlorb
|
2936770c01
|
refactor can view team users ATWHO permission
|
2017-12-14 14:18:18 +01:00 |
|
mlorb
|
5c790287ec
|
refactor again manage user team permissions
|
2017-12-14 14:18:18 +01:00 |
|
mlorb
|
7c1ae6bc82
|
refactor manage repository permissions
|
2017-12-14 14:18:18 +01:00 |
|
mlorb
|
2918a9833d
|
refactor manage repository column permissions
|
2017-12-14 14:18:18 +01:00 |
|
mlorb
|
3f5e9e60b7
|
refactor view repository permission
|
2017-12-14 14:18:18 +01:00 |
|
mlorb
|
079ac7a4d3
|
refactor manage repository row permissions
|
2017-12-14 14:18:18 +01:00 |
|
mlorb
|
740ecc674b
|
refactor view repositories permission
|
2017-12-14 14:18:18 +01:00 |
|
mlorb
|
3ca51f097f
|
refactor manage sample permissions again by removing authorship and refactor manage sample elements permissions
|
2017-12-14 14:18:17 +01:00 |
|
mlorb
|
29f9414839
|
refactor create project permission
|
2017-12-14 14:18:17 +01:00 |
|
mlorb
|
72023c7dfe
|
refactor update/delete sample permissions
|
2017-12-14 14:18:17 +01:00 |
|
mlorb
|
b09377cd8d
|
refactor update sample permission
|
2017-12-14 14:18:17 +01:00 |
|
mlorb
|
f801ed8eb6
|
refactor view/export samples permission
|
2017-12-14 14:18:16 +01:00 |
|
mlorb
|
0d37f9c85a
|
refactor clone protocol permission
|
2017-12-14 14:18:16 +01:00 |
|
mlorb
|
f6d36ae6a2
|
refactor update protocol type in repository
|
2017-12-14 14:18:16 +01:00 |
|
mlorb
|
806fcbce36
|
refactor update protocol in repository permission
|
2017-12-14 14:18:16 +01:00 |
|
mlorb
|
e0d1ae174e
|
refactor read protocol in repository permission
|
2017-12-14 14:18:15 +01:00 |
|
mlorb
|
ccc2451494
|
refactor create sample permissions
|
2017-12-14 14:18:15 +01:00 |
|
mlorb
|
43c01b74b1
|
refactor create protocol permission
|
2017-12-14 14:18:14 +01:00 |
|
mlorb
|
11a3cd196c
|
add create, update team permission and refactor 422 respond handling in controllers
|
2017-12-14 14:18:14 +01:00 |
|
mlorb
|
8893fd668d
|
add create, update, delete user_team permission
|
2017-12-14 14:18:14 +01:00 |
|
mlorb
|
a0b2d3f5ef
|
refactor read_team permission
|
2017-12-14 14:18:14 +01:00 |
|