Skip to content

History of commits

4473 commits

feat(admin): make the roles of an account a tab of its pages

The roles are a table of switches with the level and the date a grant runs out; a role above the visitor's own is locked, a grant that ran out is marked. The tab is offered to whoever manages the roles. The edit and the roles are tabs now, so the head of the account drops their buttons.
simba77 ২৫ অক্টো ২০২৬, দুপুর ১১:৪৬ সময় Branch: 10.x 74357b3

feat(admin): rebuild the form of a role and switch its permissions group by group

The form is two cards, the role and its permissions, saved from the head of the page as well as from its foot. A built-in role shows its name and level as facts. The permissions are switches in a grid; role-permissions.js ticks a whole group from its heading and keeps the counters of the groups and of the role in step.
simba77 ২৫ অক্টো ২০২৬, দুপুর ১১:৩৫ সময় Branch: 10.x be824a1

feat(admin): rebuild the list of roles and confirm deleting a role in a dialog

The roles are a table with the level, the permissions and the holders, which lead to the list of users filtered by the role. A row has buttons to edit and to delete; a role above the visitor's own shows a lock. Deleting opens pages/confirm-dialog in the modal and the page of its own without the script; role-delete-confirm.twig is gone.
simba77 ২৫ অক্টো ২০২৬, দুপুর ১১:২২ সময় Branch: 10.x 92f1960

test: change a setting and post a form through the harness

FunctionalTestCase::withConfig() changes settings for one test and puts them back however it ends, and postForm() posts a form as a signed-in visitor. They replace the copies of both across the functional tests.
simba77 ২৪ অক্টো ২০২৬, রাত ১১:৪০ সময় Branch: 10.x d67c0d9