← Back to team overview

mahara-contributors team mailing list archive

[Bug 904207] Re: Blocks showing if no relevant information to shared user

 

Kristina,

I think that the problem may lie deeper than just in these blocks and in
all blocks created with no content.

I've had a little dig around and I'd guess that a check of the block
content in the build_column function of /lib/view.php would solve this.

I can have a go at the bug fix if you like, but I've done any before (I
suppose I'll probably have to start somewhere), so may need help further
down the line if I can get the code fixed.

I'll post a question to the forum asking for feedback on whether they'd
prefer to see no block or a message saying "You do not have permission
to view the content of this post or none has been added" (or something
like that).

Thanks

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/904207

Title:
  Blocks showing if no relevant information to shared user

Status in Mahara ePortfolio:
  Triaged

Bug description:
  As per the attached image, block headers show on a shared page even if
  the person viewing the page does not have access to view the
  information within the block.

  An example would be if person X is in groups 2, 3 and 4 and person Y
  is in groups 2 and 3. If person X adds the Recent Forum Posts for
  group 4 and shares the page with person Y, the block shows, but as the
  person does not have access to view the group forum posts, no
  information shows within the block.

  I'd say that it would look better if the block did not show at all, or
  if it included a message to say that you cannot view the information
  within this block.

  Thanks

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/904207/+subscriptions


References