Commit a4deeb1
authored
feat: add row level access control (#8)
* feat: add row level access control
Allow or deny edits/deletes per row
Change-Id: Ie17e70ac51327c68973f3821bccf59b9bceb1e1b
* speed increase
Change-Id: Iebb51b0e154c5a3ceb451e53b268c3ca71d65753
* Use tibble instead of data.frame
More logical since input data is expected to be tibble. When
implementing custom canEditRow() and canDeleteRow() logic, tibble is
therefore the expected data type.
Change-Id: I53b7346f737c817ff4e0379b3d567740baf7ad49
* Simplify usage
- Always allow to modify / delete newly inserted rows
- Allow to pass on boolean values
Change-Id: I552a7a31babb554bcd7aeb6337b19fd6d76968e3
* Disable buttons instead of hiding
Gives a more consistent user-intuitive look.
* Allow for reactivity1 parent 74fbc97 commit a4deeb1
File tree
20 files changed
+681
-120
lines changed- editbl
- R
- inst
- man
- tests/testthat
- vignettes
- screenshots
20 files changed
+681
-120
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
| 3 | + | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| 43 | + | |
42 | 44 | | |
43 | 45 | | |
44 | 46 | | |
| |||
49 | 51 | | |
50 | 52 | | |
51 | 53 | | |
| 54 | + | |
52 | 55 | | |
53 | 56 | | |
54 | 57 | | |
55 | 58 | | |
56 | 59 | | |
57 | 60 | | |
| 61 | + | |
58 | 62 | | |
59 | 63 | | |
60 | 64 | | |
| |||
0 commit comments