May Seattle Drupal User Group

Events happening in the community are now at Drupal community events on www.drupal.org.
GregoryHeller's picture
Start: 
2011-05-19 06:00 - 07:30 America/Los_Angeles
Organizers: 
Event type: 
User group meeting

Amazon South Lake Union Campus 421 Boren Ave N Seattle, WA 98109

421 Boren Ave N/426 Terry Ave N, Seattle, WA 98109

Learn about Drupal and meet local Drupal enthusiasts. We meet from 6 pm until 7:30 pm, then reserve the last half-hour for proper socializing, snacking, and further discussion at a local pub. There are a few new places that have opened up in the area, we'll decide where to go closer to the event.

Coworking will be a block away at Moka Coffee around 3:30pm.

Agenda

  • Brief One Breath introductions
  • Lightning talks
  • problem/solution breakout session: 30 minutes. Please post your problem in the comments below before the meeting.

If you want to add items to the agenda, please leave a comment, and be specific about what your agenda item is, what your lightening talk is, or what you would like to have a breakout session about.

Comments

more panels

jkopel's picture

I would like to briefly show off the new version of Squigaloo and talk about some of my discoveries in using panels.

Web developer @ tableau

Question on Permissions

itsnotsohot's picture

I keep meaning to come to one of these, specifically so I could meet some cool peeps BEFORE I had a question. But alas, I'm coming and I have a question.

I created a drupal 6 site some time ago. Using CCK, I created custom content type for classes, and using field permissions I have certain fields within the classes limited down to certain roles. However I don't know how to limit on the intersection of the three.

Example:

Business problem:
I teach multiple classes, let's say biology, chemistry, physics, algebra, geometry and calculus.
Each class has general information for everyone (even anonymous) and specific information for people enrolled in the course.
I want anyone to see the general info, but people in biology and algebra to only see class specific info for those classes and nothing for classes they're not enrolled in.

My setup today:
I initially created a generic student and teacher role, while it was simple, it worked well and fast.
I have now defined roles specifically for each class: student_algebra, student_chemistry, teacher (could be different levels of teacher), etc.

Within the classes content type I have GENERIC fields defined for class materials, chapter reviews, exams, and teacher materials (review & exam answer keys).
I have it setup that people with the teacher role can only see the instructor materials. No problem.
Originally anyone with the student role could see any of the student materials; however I need to limit this to only classes you've paid for.

After setting up all the nodes, I installed ubercart (I originally just took payments in person). I setup the cart to look at my classes and you can accept payment, but today ubercart is NOT managing content permissions at all for the various classes (since I still take money in person).

What I need help with:
Without creating unique fields in the content type = classes for every class I intend to teach, I don't know how to limit the class materials so that only algebra students see algebra homework, chapter reviews, exams, etc.

If i create distinct fields, I can use field_permissions to do it.
But I'd rather not create all those fields (chemistry_exam, chemistry_review, algebra_exam, etc.).
Is there a different way to think about this, or do this instead of creating a bunch more fields and moving the content in the generic fileds to the unique ones per class?

It seems like there should be a way to limit node & field view permisisons per role.... but I can't seem to figure it out. I'm sure I'll be embarassed (but very pleased) when someone points me to the right way.

Thanks,
John

Have you looked at the Node Access module?

ChuckZ's picture

http://drupal.org/project/node_access

I use this on one of my sites. It gives you control of access by role or even user id.
It can also control access to menus.
I don't know if it can be used for field-level access.

Here is a warning, though... when I first turned it on I locked out users but didn't notice (I am the administrator so I see everything). Make sure you test as various user roles.

Thank you

itsnotsohot's picture

I read through the project and initially went with the recommendation to use content_access (as s/he doesn't intend to support node_access in Drupal 7.

But I couldn't make that do what I needed, so I removed it and then tried node_access. Also unsuccessfully.

I'm wondering if I am thinking of the problem space incorrectly and that's why existing solutions aren't mapping well to my need. I'll ponder some more, welcome other suggestions, and look forward to chatting.

Taxonomy structure

MrPhilbert's picture

Would it be possible for someone to explain how to enforce child taxonomy item selection/creation when adding a node to Drupal? More specifically Drupal 7? I've tried hierarchical select in both D6 and 7 but it's really buggy. Any suggestions would really be appreciated.

Directions

teagan.walden's picture

Gregory,

I see that there are two addresses - two different sides of the Amazon building. Can you please provide access information for the meeting as well as a room number.

Thank you!

teagan.walden@cascadebicycleclub.org

Meeting room directions

jdwalling's picture

SeaDUG meets in the VanVorst public rooms at the Amazon Campus.

The room entrance is on the south side of the building shown in the photos
http://lbt.me/seadug-meetups-pics

Photos 1 & 2 show the Boren side approach to the entrance. Photos 3 & 4 show the Terry side approach to the entrance. Photo 5 shows the meeting room from the outside.

John Walling

Lightning talk

rlhawk's picture

If there's time, I'd like to do a lightning talk about the Name module.

Lightning talk

setvik's picture

If there's time, I could do a quick talk about our first D7 project, a redesign of the Aspen Ideas Festival site.

Barn-raising update: June 11 and 12

jdwalling's picture

The Drupal Barn-raising for Seattle Genealogical Society (SGS) is scheduled for Sat June 11 & Sun June 12, 2011

For details see:
Announcement at top of Seattle Group page: http://groups.drupal.org/node/144134
Eventbrite registration: http://drupal-barn-raising.eventbrite.com/ REGISTER NOW

Meetings:
The Drupal committee has been meeting weekly 3-5PM on Wednesdays at Green Bean Cafe in Greenwood. Next regular meeting is Wed May 25, 2011. (See last meeting minutes for agenda http://drupalkata.com/sgs/node/1771) An extra meeting is tentatively scheduled for 6:30 Monday May 23 at SGS offices to go over final requirements with the SGS web committee. We will be reviewing and adding User Stories http://tinyurl.com/sgs-master-spreadsheet

Your participation is needed:
We need sponsors to help with food expenses, and Drupalistas to help with logistics and to participate on the days of the event. People new to Drupal can participate by taking notes, copy/pasting text and writing help documentation. If you are interested, contact John Walling or Robert Stumberger during the last 30 minutes of the SeaDUG meeting on Thur May 19th. If you cannot be at the SeaDUG meeting, send an email to John Walling wallingconsulting|at|gmail\dot\com or add a comment to the announcement http://groups.drupal.org/node/144134

Amazon location:
The barn-raising will be in the same space as the monthly SeaDUG meetings at the Amazon South Lake Union Campus. Thanks to Amazon for providing the space for free.

Drupal barn-raising is a community outreach event, so help make it happen.

Seattle

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: