On Sat, Jun 15, 2013 at 10:58 AM, Sathishkumar Duraisamy <
[email protected]> wrote:

> Hi all,
>
> By default, when Bloodhound is opened, it lands in page WikiStart. If
> we don't give permission for a user for wiki, then it results in
> ending up of  "Error: Forbidden WIKI_VIEW privileges are required to
> perform this operation on WikiStart. You don't have the required
> permissions" Is there any work around to solve this?
>

Would you like to change the page that you arrive at when navigating to the
base URL, and have it be, for example, the Dashboard or Ticket page rather
than the wiki? Or would you like to have it be a wiki page other than
WikiStart?

For the former, you can set the `[trac] default_handler`. For the latter I
think a plugin would be required, though I can only imagine that you'd need
to do this if you'd like to have different users land on different pages,
otherwise you could just move the relevant content to WikiStart. Let me
know if the latter is what you want to do, and I will take a closer look,
as its something I've setup in the past but I don't recall the details at
the moment.

If setting `default_handler`, please be aware that the component must be
enabled. The documentation that is inherited from Trac currently states
that the following are allowed: TimelineModule, RoadmapModule,
BrowserModule, QueryModule, ReportModule, TicketModule and WikiModule.
However, in Bloodhound the RoadmapModule is disabled and replaced by the
DashboardModule, and the TicketModule is disabled and replaced by the
ProductITicketModule. I've tested DashboardModule and ProductTicketModule
as the default_handler and they both work fine.


> So, how we achieve the fine grained permission for the wiki. It helps
> in many ways, say secured wiki can be viewed by important person while
> general wiki can be viewed by all of the end user.
>

You'll need to configure FineGrainedPermissions:
https://issues.apache.org/bloodhound/wiki/TracFineGrainedPermissions

The feature works well in my experience. You may find the following plugin
useful:
http://trac-hacks.org/wiki/FineGrainedPageAuthzEditorPlugin
The plugin will eventually be integrated into AccountManagerPlugin and
therefore be provided with Bloodhound, even if we decide not to enable it
by default (and issue which will need to be discussed).

Let me know if you run into trouble, and how it works out for you.

- Ryan

Reply via email to