It would be great to assign themes depending on the node's access rights (using ACL module). So, there would be another property called node:acl.

Comments

profix898’s picture

I dont know ACL module in detail, but what exactly do you expect your proposed node:acl to match? AFAIK the acl module maintains access control lists for user<>node relations. Do you want to switch theme based on what level of permission, i.e. view, edit, delete, ..., the user has or what?
It should be trivial to provide a node:acl property, but I need some more details on how this should work ...

itrivino’s picture

Well, I'll try to explain it, but I don't speak English very well...

ACL module allows administrator to assign role-based permissions to each node. That way, access to nodes depends on the role of the user. It would be nice if each node could show itself with a certain theme based on this ACL permissions. I'll give you an example (well, my own web needings):

I have four types of users: anonymous, registered, member of my association, and collaborators. Anonymous and registered users can only view "public" nodes, so i.e. I want to show them in green colour. Instead, "members" can view other "private" nodes as well, and I want to show them in yellow colour. Finally, collaborators can view certain nodes hidden for all of the others, and I want to show those nodes in red colour.

I think ThemeKey would be of great help, if I could select nodes by ACL permissions. And that's all. ;-)
Anyway, I am already using your module, specifying private nodes by URL. It gives me more work to do, but... it works anyway! :-)

mkalkbrenner’s picture

Version: 6.x-1.0 » 6.x-2.0-alpha2
Component: Installation / Configuration » Code / API

sounds like new properties based on ACL

mkalkbrenner’s picture

Status: Active » Postponed
mkalkbrenner’s picture

Issue summary: View changes
Status: Postponed » Closed (won't fix)

Due to the fact that nobody has time to implement this feature I close to issue to clean up the queue.
Fell free to re-open it if you can provide a patch or order a maintainer to work on it.