- Notifications
You must be signed in to change notification settings - Fork928
Commit5a547fc
committed
Show ineditable form without org edit perm
I think the "you do not have permission to edit" message might make itsound like you can do nothing at all with the org, but it might be thatyou can edit members and groups, just not the org settings.So, instead, show the org settings but disable the form if you cannotedit. Probably there is still a better design but maybe this is OK fornow.1 parent0b4b00b commit5a547fc
File tree
3 files changed
+14
-13
lines changed- site/src/pages/ManagementSettingsPage
3 files changed
+14
-13
lines changedLines changed: 1 addition & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
57 | 57 |
| |
58 | 58 |
| |
59 | 59 |
| |
60 |
| - | |
61 |
| - | |
62 |
| - | |
63 |
| - | |
64 |
| - | |
65 |
| - | |
66 |
| - | |
67 |
| - | |
68 | 60 |
| |
69 | 61 |
| |
70 | 62 |
| |
71 | 63 |
| |
72 | 64 |
| |
| 65 | + | |
73 | 66 |
| |
74 | 67 |
| |
75 | 68 |
| |
|
Lines changed: 7 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
| 13 | + | |
13 | 14 |
| |
14 | 15 |
| |
15 | 16 |
| |
| |||
23 | 24 |
| |
24 | 25 |
| |
25 | 26 |
| |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + |
Lines changed: 6 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
44 | 44 |
| |
45 | 45 |
| |
46 | 46 |
| |
| 47 | + | |
47 | 48 |
| |
48 | 49 |
| |
49 | 50 |
| |
50 | 51 |
| |
51 |
| - | |
| 52 | + | |
52 | 53 |
| |
53 | 54 |
| |
54 | 55 |
| |
| |||
82 | 83 |
| |
83 | 84 |
| |
84 | 85 |
| |
85 |
| - | |
| 86 | + | |
86 | 87 |
| |
87 | 88 |
| |
88 |
| - | |
| 89 | + | |
89 | 90 |
| |
90 | 91 |
| |
91 | 92 |
| |
| |||
117 | 118 |
| |
118 | 119 |
| |
119 | 120 |
| |
120 |
| - | |
| 121 | + | |
121 | 122 |
| |
122 | 123 |
| |
123 |
| - | |
| 124 | + | |
124 | 125 |
| |
125 | 126 |
| |
126 | 127 |
| |
|
0 commit comments
Comments
(0)