Commit 9c368e2
committed
fix(ui): update bulk-action confirm prompts to match actual behavior
The delete-groups, delete-computers, disable-users, and
disable-computers confirm prompts still read "not yet implemented —
will return 501" from before the Phase 3 bulk actions landed. Review
on PR #571 flagged this as misleading: group/computer delete now go
through DeleteByDN and user/computer disable are wired to the v1.12
simple-ldap-go DisableUser/DisableComputer helpers on AD backends.
Rewording:
- Delete prompts now say "This cannot be undone." (matches the
single-entity drawer Delete button already uses).
- Disable prompts now carry the AD caveat ("Active Directory only
— returns 501 on OpenLDAP") because the handler is gated on
a.ldapConfig.IsActiveDirectory and the client can't detect the
backend from the browser. Clients on OpenLDAP see the 501 +
bulkNotImplementedMessage contract unchanged.
Signed-off-by: Sebastian Mendel <sebastian.mendel@netresearch.de>
Signed-off-by: Sebastian Mendel <info@sebastianmendel.de>1 parent d98d3dd commit 9c368e2
1 file changed
Lines changed: 14 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
190 | 197 | | |
191 | 198 | | |
192 | 199 | | |
193 | 200 | | |
194 | | - | |
| 201 | + | |
| 202 | + | |
195 | 203 | | |
196 | 204 | | |
197 | 205 | | |
| |||
237 | 245 | | |
238 | 246 | | |
239 | 247 | | |
240 | | - | |
| 248 | + | |
241 | 249 | | |
242 | 250 | | |
243 | 251 | | |
| |||
250 | 258 | | |
251 | 259 | | |
252 | 260 | | |
| 261 | + | |
253 | 262 | | |
254 | 263 | | |
255 | 264 | | |
256 | 265 | | |
257 | | - | |
| 266 | + | |
| 267 | + | |
258 | 268 | | |
259 | 269 | | |
260 | 270 | | |
| |||
269 | 279 | | |
270 | 280 | | |
271 | 281 | | |
272 | | - | |
| 282 | + | |
273 | 283 | | |
274 | 284 | | |
275 | 285 | | |
| |||
0 commit comments