XWiki document permission, how to assign to pages nested in a space?

While I focused on upgrade testing on the virtual machine, the production environment ran into an issue. It’s an old version of XWiki v7.0.1, running with MariaDB v10.1 with charset latin1.

Users cannot access the documents as they used to, the documents are still there, but users no longer have access.

With a quick look in the context of “Administer Wiki > Users & Groups > Rights”, I noticed a few user groups got deleted recently, so I guess some coworkers are doing a house cleaning to remove the unnecessary entities and prepare for using the upgraded new version. However, I am still waiting for confirmation.

For a quick fix, I wanted to regrant the permissions in the context of “The document > Edit > Access Rights”. However, it only works on the document of the parent space, and users still don’t have access to the pages nested inside.

I also tried to check the database for changes, but unsure which tables to check.

My Questions:

  • Do we have a way to grant access to the top-level space and let a user group access all the nested pages inside?

  • Also, I hope to get some pointers about how to trace the database changes.

I will highly appreciate any hints and suggestions. For anything, just let me know.

I edited the caption and still waiting for help. This production site is important to us.