Add the shorthand characters as titles in the show-privs table #166

Closed
opened 2025-12-13 16:39:31 +01:00 by oysteikt · 0 comments
Owner

Currently, the table looks like this:

$ muscl show-privs
+-----------------+-----------------+--------+--------+--------+--------+--------+------+-------+-------+------+------+------------+
| Database        | User            | Select | Insert | Update | Delete | Create | Drop | Alter | Index | Temp | Lock | References |
+-----------------+-----------------+--------+--------+--------+--------+--------+------+-------+-------+------+------+------------+
| oysteikt_test01 | oysteikt_test01 |   Y    |   Y    |   Y    |   Y    |   N    |  N   |   N   |   N   |  N   |  N   |     N      |
+-----------------+-----------------+--------+--------+--------+--------+--------+------+-------+-------+------+------+------------+

Maybe we could change out the Select/Insert/... headers for Select (s)/Insert (i)/... ones, or if it becomes too long, maybe it's more useful with single letter headers to make a more compact table?

Currently, the table looks like this: ``` $ muscl show-privs +-----------------+-----------------+--------+--------+--------+--------+--------+------+-------+-------+------+------+------------+ | Database | User | Select | Insert | Update | Delete | Create | Drop | Alter | Index | Temp | Lock | References | +-----------------+-----------------+--------+--------+--------+--------+--------+------+-------+-------+------+------+------------+ | oysteikt_test01 | oysteikt_test01 | Y | Y | Y | Y | N | N | N | N | N | N | N | +-----------------+-----------------+--------+--------+--------+--------+--------+------+-------+-------+------+------+------------+ ``` Maybe we could change out the `Select`/`Insert`/... headers for `Select (s)`/`Insert (i)`/... ones, or if it becomes too long, maybe it's more useful with single letter headers to make a more compact table?
oysteikt added this to the Initial release milestone 2025-12-13 16:39:31 +01:00
oysteikt added the ui/ux label 2025-12-13 16:39:31 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Projects/muscl#166