Commit 2a4357c
committed
add permission support in apijson get(one)/head/delete, 8 test cases
1 parent 39a1c38 commit 2a4357cCopy full SHA for 2a4357c
File tree
Expand file treeCollapse file tree
8 files changed
+285
-61
lines changedOpen diff view settings
Filter options
- tests
- demo/apps/apijson_demo
- uliweb_apijson/apijson
Expand file treeCollapse file tree
8 files changed
+285
-61
lines changedOpen diff view settings
Collapse file
tests/README.md
Copy file name to clipboard+6Lines changed: 6 additions & 0 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
Collapse file
tests/demo/apps/apijson_demo/dbinit.py
Copy file name to clipboardExpand all lines: tests/demo/apps/apijson_demo/dbinit.py+5-3Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
7 | 7 | |
8 | 8 | |
9 | 9 | |
| 10 | + |
10 | 11 | |
11 | 12 | |
12 | 13 | |
| ||
95 | 96 | |
96 | 97 | |
97 | 98 | |
98 | | - |
| 99 | + |
99 | 100 | |
100 | 101 | |
101 | 102 | |
102 | 103 | |
103 | 104 | |
104 | 105 | |
105 | | - |
| 106 | + |
106 | 107 | |
107 | 108 | |
108 | 109 | |
109 | 110 | |
110 | 111 | |
111 | 112 | |
112 | | - |
| 113 | + |
113 | 114 | |
114 | 115 | |
115 | 116 | |
| ||
158 | 159 | |
159 | 160 | |
160 | 161 | |
| 162 | + |
161 | 163 | |
162 | 164 | |
163 | 165 | |
|
Collapse file
tests/demo/apps/apijson_demo/models.py
Copy file name to clipboardExpand all lines: tests/demo/apps/apijson_demo/models.py+7Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
28 | 28 | |
29 | 29 | |
30 | 30 | |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
31 | 38 | |
32 | 39 | |
33 | 40 | |
|
Collapse file
tests/demo/apps/apijson_demo/settings.ini
Copy file name to clipboardExpand all lines: tests/demo/apps/apijson_demo/settings.ini+29Lines changed: 29 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | 3 | |
| 4 | + |
4 | 5 | |
5 | 6 | |
6 | 7 | |
7 | 8 | |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
8 | 16 | |
9 | 17 | |
10 | 18 | |
| ||
39 | 47 | |
40 | 48 | |
41 | 49 | |
| 50 | + |
| 51 | + |
| 52 | + |
| 53 | + |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | + |
42 | 58 | |
43 | 59 | |
44 | 60 | |
| ||
73 | 89 | |
74 | 90 | |
75 | 91 | |
| 92 | + |
| 93 | + |
| 94 | + |
| 95 | + |
| 96 | + |
| 97 | + |
| 98 | + |
| 99 | + |
| 100 | + |
| 101 | + |
| 102 | + |
| 103 | + |
| 104 | + |
76 | 105 | |
77 | 106 | |
78 | 107 | |
|
Collapse file
+102-6Lines changed: 102 additions & 6 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1153 | 1153 | |
1154 | 1154 | |
1155 | 1155 | |
1156 | | - |
| 1156 | + |
1157 | 1157 | |
1158 | 1158 | |
1159 | 1159 | |
| ||
1581 | 1581 | |
1582 | 1582 | |
1583 | 1583 | |
1584 | | - |
| 1584 | + |
1585 | 1585 | |
1586 | 1586 | |
1587 | 1587 | |
| ||
1591 | 1591 | |
1592 | 1592 | |
1593 | 1593 | |
1594 | | - |
| 1594 | + |
1595 | 1595 | |
1596 | 1596 | |
1597 | 1597 | |
| ||
1647 | 1647 | |
1648 | 1648 | |
1649 | 1649 | |
1650 | | - |
| 1650 | + |
1651 | 1651 | |
1652 | 1652 | |
1653 | 1653 | |
| ||
1667 | 1667 | |
1668 | 1668 | |
1669 | 1669 | |
1670 | | - |
| 1670 | + |
1671 | 1671 | |
1672 | 1672 | |
1673 | 1673 | |
| ||
1701 | 1701 | |
1702 | 1702 | |
1703 | 1703 | |
1704 | | - |
| 1704 | + |
| 1705 | + |
| 1706 | + |
| 1707 | + |
| 1708 | + |
| 1709 | + |
| 1710 | + |
| 1711 | + |
| 1712 | + |
| 1713 | + |
| 1714 | + |
| 1715 | + |
| 1716 | + |
| 1717 | + |
| 1718 | + |
| 1719 | + |
| 1720 | + |
| 1721 | + |
| 1722 | + |
| 1723 | + |
| 1724 | + |
| 1725 | + |
| 1726 | + |
| 1727 | + |
| 1728 | + |
| 1729 | + |
| 1730 | + |
| 1731 | + |
| 1732 | + |
| 1733 | + |
| 1734 | + |
| 1735 | + |
| 1736 | + |
| 1737 | + |
| 1738 | + |
| 1739 | + |
| 1740 | + |
| 1741 | + |
| 1742 | + |
| 1743 | + |
| 1744 | + |
| 1745 | + |
| 1746 | + |
| 1747 | + |
| 1748 | + |
| 1749 | + |
| 1750 | + |
| 1751 | + |
| 1752 | + |
| 1753 | + |
| 1754 | + |
| 1755 | + |
| 1756 | + |
| 1757 | + |
| 1758 | + |
| 1759 | + |
| 1760 | + |
| 1761 | + |
| 1762 | + |
| 1763 | + |
| 1764 | + |
| 1765 | + |
| 1766 | + |
| 1767 | + |
| 1768 | + |
| 1769 | + |
| 1770 | + |
| 1771 | + |
| 1772 | + |
| 1773 | + |
| 1774 | + |
| 1775 | + |
| 1776 | + |
| 1777 | + |
| 1778 | + |
| 1779 | + |
| 1780 | + |
| 1781 | + |
| 1782 | + |
| 1783 | + |
| 1784 | + |
| 1785 | + |
| 1786 | + |
| 1787 | + |
| 1788 | + |
| 1789 | + |
| 1790 | + |
| 1791 | + |
| 1792 | + |
| 1793 | + |
| 1794 | + |
| 1795 | + |
| 1796 | + |
| 1797 | + |
| 1798 | + |
| 1799 | + |
| 1800 | + |
1705 | 1801 | |
Collapse file
uliweb_apijson/apijson/__init__.py
Copy file name to clipboardExpand all lines: uliweb_apijson/apijson/__init__.py+68Lines changed: 68 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
260 | 260 | |
261 | 261 | |
262 | 262 | |
| 263 | + |
| 264 | + |
| 265 | + |
| 266 | + |
| 267 | + |
| 268 | + |
| 269 | + |
| 270 | + |
| 271 | + |
| 272 | + |
| 273 | + |
| 274 | + |
| 275 | + |
| 276 | + |
| 277 | + |
| 278 | + |
| 279 | + |
| 280 | + |
| 281 | + |
| 282 | + |
| 283 | + |
| 284 | + |
| 285 | + |
| 286 | + |
| 287 | + |
| 288 | + |
| 289 | + |
| 290 | + |
| 291 | + |
| 292 | + |
| 293 | + |
| 294 | + |
| 295 | + |
| 296 | + |
| 297 | + |
| 298 | + |
| 299 | + |
| 300 | + |
| 301 | + |
| 302 | + |
| 303 | + |
| 304 | + |
| 305 | + |
| 306 | + |
| 307 | + |
| 308 | + |
| 309 | + |
| 310 | + |
| 311 | + |
| 312 | + |
| 313 | + |
| 314 | + |
| 315 | + |
| 316 | + |
| 317 | + |
| 318 | + |
| 319 | + |
| 320 | + |
| 321 | + |
| 322 | + |
| 323 | + |
| 324 | + |
| 325 | + |
| 326 | + |
| 327 | + |
| 328 | + |
| 329 | + |
| 330 | + |
Collapse file
uliweb_apijson/apijson/settings.ini
Copy file name to clipboardExpand all lines: uliweb_apijson/apijson/settings.ini+4-1Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
19 | 19 | |
20 | 20 | |
21 | 21 | |
22 | | - |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
0 commit comments