BookStackApp / BookStack

A platform to create documentation/wiki content built with PHP & Laravel
https://www.bookstackapp.com/
MIT License
14.84k stars 1.86k forks source link

Create category / sub category for sorting thing when data scale up #760

Closed kopax closed 5 years ago

kopax commented 6 years ago

Hi, I've just randomly pulled your project and I think it is nice compared to old twiki and xwiki.

Currently we can just write books with chapter, but there is no way to sort them by group.

Feature would add a way of creating category, eventually sub categories to save our book outside the global namespace.

Also, would you add later file upload on article like zip pdf ... ? Thanks

ssddanbrown commented 6 years ago

Hi @kopax, Thank you for your suggestions.

You can add an extra layer of categorisation by using tags. These can be added in the right sidebar when editing a book. Here you can also upload attachments, of any file type, to a page as requested:

image

If you instead wanted an extra level in the heirachy, That is already an open issue under #95.

Does the above solve your requests?

kopax commented 6 years ago

@ssddanbrown thanks for the info. About the categorization by tags, it is good to be able to have tag for finding out a book from its tag. But as a way to display book, tags don't allow to list and display books by category, they are all mixed up. I think this is somehow very important if you want to have many books many users, and users to be allowed to read/display just certain categories of books.

My use case is that we have services (marketing, developers,....) and users should be able to display/read book only from their own services

ssddanbrown commented 6 years ago

@kopax You can create roles, assign them to users, Then change permissions of particular books to only be readable/editable by certain roles. That sounds like what you're asking here.

kopax commented 6 years ago

@ssddanbrown even if it's true, it is not nice to do it for each book (rather than just adding it to a category where user have permissions).

On the UI side, user will not have a way to browse by hierarchy other than filtering. I believe we should create a bookshelf, and a UI to browse by bookshelf.

I think this is not possible :

image

This is what we need :

image

Our users depend on sub/organization, groups is a must for us as we won't be able to individually manage users permissions.

ssddanbrown commented 5 years ago

As of the next release BookStack will have Bookshelves as described here which brings a level of categorization to Books. This appears to meet the main request of this issue so I will close this.

kopax commented 5 years ago

@ssddanbrown just wow. We've been going on with wikijs and aren't really satisfied of their UI that has many bugs. BookStack was good at testing but lacking some important feature. It sounds good if you corrected all that, is there a way to test online?

ssddanbrown commented 5 years ago

@kopax You can see the demo site here: https://demo.bookstackapp.com/login?email=admin@example.com&password=password

It resets every half hour and some features are disabled (I think adding users or updating settings).

kopax commented 5 years ago

@ssddanbrown I don't see how you did solve the categories/users permissions issues.

Our organization needs groups, and permissions should be given to group.

Right now with wikijs, we are able to protect anywhere in such path (not by group but at least individually): a>b>c>d>e>f.

From the demo, I can tell that we still can't group users and we still can't assign permissions to shelves.

That's one step closer, but if we can keep this ticket open until there is more granularity in the permissions system?