Answered: A bug in the updated vesion of permission2categories (Jan 2021)

Post date: 2021-01-18 10:30:34
Views: 95

Technically speaking, that was never part of the requirements. According to the original author of the plugin:

After installation, when you edit a category in the admin section you will notice a select box. Simply choose the permission level you would like to set and then all questions in that category will be hidden from users of lower level.

And that was it. If requirements are respected, by definition, there can't be a bug :)

Anyway, I've just published v1.1.2 with this feature. I was lazy enough not to test it much, so please, go ahead and test it yourself.

I've also added category-level privilege checks. To understand this, it works in the following way. Imagine this:

  • A user is a Registered user (basic level)
  • In a given category, they are promoted to Superadmin (only for that category!)
  • In the plugin, that category is set only to be accessed by Administrators+

In this context, the user will be able to view and post on that given category.

Please click Here to read the full story.
 
Other Top and Latest Questions:
The cost of living... with a canine companion
Carrier, the century-old inventor of the air conditioner, is moving on to the home heat pump
Russia warns the world is on the brink of a 'direct military clash' between nuclear powers
Express files for bankruptcy, plans to close nearly 100 stores as investor group looks to save the brand
Ex-JetBlue CEO Robin Hayes to run Airbus North America
A pullback in this biotech stock has created a buying opportunity, according to the charts
Stocks making the biggest moves midday: Tesla, Verizon, Paramount, Coinbase and more
The Apothecary Diaries: Chilly Apothecary
Frieren: Beyond Journey's End: Future Enemies
Movie: National Lampoon's Van Wilder