On current AIKI you can't create widget that will be display different
things for unlogged/logged in as normal user/loged in as librarian or
SysGOD you have 3 contents for different permissions (widget have only
two), so you need to create another widget only for librarian/SysGODs
but in this case widget for normal user will be displayed for librarians
and SysGODs so they will have two copies of the same content (I create
that widget and then delete it).

In Aiki this can be fix by:

1. Display widget only for exact permission 
    - if user is librarian or SysGOD they will not have widget for normal users.
    - if user is SysGOD the content for librarians will not be displayd

   permissions should have multiple values like normal|librairan|SysGODs

So can have separate widget for librarian|SysGODs with SQL without
"upload_published = 1"

2. There can be another table aiki_widget_content(permision_id, content)

    relation should be as folow:
    aiki_widgets 1-----------------N aiki_widget_content N-------------1 
aiki_users_groups

in this case you can have one widget that display different content for
different permissions. In this case you can have a widgets that display
content for unlogged/logged/librarian or SysGOD/Banned in one widget.

-- 
You received this bug notification because you are a member of Aiki
Framework Developers, which is subscribed to aikiframework.
https://bugs.launchpad.net/bugs/561828

Title:
  hidden clipart not hidden

Status in Aiki Framework:
  Confirmed
Status in openclipart:
  Fix Committed
Status in Open Font Library:
  Confirmed

Bug description:
  Hidden clipart is not hidden. 
  See here to test.

  http://www.openclipart.org/detail/17342

  http://www.openclipart.org/detail/16423

  Click on them without logging into openclipart.
  Now log in and try it.

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

_______________________________________________
Mailing list: https://launchpad.net/~aikiframework-devel
Post to     : aikiframework-devel@lists.launchpad.net
Unsubscribe : https://launchpad.net/~aikiframework-devel
More help   : https://help.launchpad.net/ListHelp

Reply via email to