Cloning permissions from one node to another
I have a gallery setup whereby a gallery is a node and a gallery can have many child image nodes.
So far so good.
However, I would like to configure the setup so that when a user sets the node access permissions for the gallery (using UserRElationships Node Access), that same permission is applied to all child nodes.
I was thinking that this could be achieved in triggered rules, eg after a gallery is updated and after an image is created.
However I cant find out how I:
a) get the permissions of a particular node
and
b) set the permissions of a node.
Read moreReally wierd "File system" not writable problem...
Installed aegir a couple of days ago - and I really, really like what it offers!
But I have a really wierd problem with the "File system" settings...
It says:
- The directory sites/[testsite]/files is not writable
- The directory sites/[testsite]/files/tmp is not writable
And I have "even" tried chmod 777 on the folders!!!
The main hostmaster aegir site works and validates that the files folder is writeable - and if I chmod that to 550 it complains... why can't the hosted sites connect to their files folder??? What am I missing and how can I solve it?
Read moreSpecial permissions to alter null fields and edit existing fields
Functions required:
<
blockquote>
drupal_hook_form_alter()
why? To check to see if fields are or are not null (note that "drupal" will be replaced with a suggested module name for anyone who thinks that this should be modulated)
dropdown()
Preferred/chosen method, due to its being concise. For larger sites, it would probably be best to use some kind of auto-complete function
foreach()
This is used to fill the drop-down with options (the variable $option will be used)
submit()
To initiate actions which will fill the form in question with the user entries made herein
Better Access Controls for Views
I have the need for a site where I can define access to individual nodes by user. In this scenario, access by permission or roles is not finite enough. Node_Access has this ability. But when I want to create a view to display the node available to a given user, View's Access setting overrides the permission and roles settings in Node_Access. There is a similar module, Content Access that tries to solve a similar problem.
Read moreHierarchical corporate structure for an intranet
We are building our new intranet on Drupal. We are a group of companies, i.e. our organizational structure consists of sub-companies, which again have sub-companies or departments, which also can have sub-departments and/or employees belonging to them. We need to have this organizational structure in our Drupal-based intranet system, both:
1) in terms of content: displaying the corporate structure as a hierarchical list of companies, sub-companies, departments; displaying employee listings per company and department;
Multisite or Domain Access with CiviCRM?
I have done a bunch of research but could use some advice on whether a multisite installation or the Domain Access module is more appropriate for my needs.
I am setting up two sites for a public school and the grassroots nonprofit that raises money to support the school. They will need the following capabilities: (My impression of whether this tips the scale one way or the other is in parentheses - feel free to correct me)
Read moreUnlimited search and teaser views, but require role for full page view
Gosh, this seems like it should be an easy one, I'm surprised that I haven't had to do it before....
Any thoughts on how to set up a paid-membership site that allows unauthenticated users to search all content on the site, but then not have access to read the full-page view of that content w/o having a specific user role?
Out of the box, to allow a user to find content via the search they need access to view the content type, right? So, I could create a new permission in a custom module, or "cheat" and just check for a specific role before displaying the content in a full page view.
Read moreIdea: Menutree Permissions module - cascading menu-level access control by role/user ID - input needed :o)
Hello everyone,
I'm a complete newbie to writing Drupal apps and having not yet found anything which fits my needs properly, I'm setting out on writing a node access module which uses the site's primary navigation menu structure to define access permissions.
I'm still at a very early stage of planning, and the use case for the module is pretty specific, so I haven't even begun to consider all the "what-if"s associated with, say, what happens when the site admin decides to reassign the primary menu.
Read morePermissions
Hello from Grand Rapids!
I've been here for two weeks and already the Drupal involvement begins! I'm not actually working on the development, but our web developer is fairly new to Drupal with very few people to consult in GR; only the support forums. So we have a question based on permissions, and the context is that we're creating a website called The Rapidian that will act as an online distribution platform for citizen journalism in Grand Rapids. In this setup, we have many roles, with first-time reporter and reporter on the lower rungs and editor on the higher rungs.
So when adding content in a custom content type like a “news story,” can we hide/show certain fields based on a users role? For example, we’d like an editor role to be able to check a field “has been fact checked” but not show this to the reporter role.
Read morePermissions again :-(
I'm still having massively annoying permissions issues here in Boston. Conflicts between OG's "Organic Groups Access Control", CCK's "Content Permissions", and Workflow's "Workflow Access" permissions are rampant. (Posting to Boston too for compassion and insight.)
Read more




