Download & Extend

access problem with program nodes

Project:Station
Version:5.x-2.x-dev
Component:Programs
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

I was seeing that anonymous users couldn't access program nodes.

to fix, I inserted these lines to station/program/station_program.module at line 93:

    case 'view':
        return user_access('access content');
        break;

(cut and pasted from the playlist module.)

Comments

#1

The problems seems to remain in final 5.x-2.0 but your addition solves it.
Thanks ;-)

#2

Thank you for posting this. I installed station 5.x-2.0 final last week on a fresh drupal 5.14 install. I have been trying to figure out why the hell only the administrator could view the programs (anonymous and authenticated users could not).

With this bug, it fixes the issue. This should really be applied to the final release.

#3

Version:5.x-2.0-alpha1» 6.x-2.x-dev

Actually it looks like the perms in general could use some work. Could anyone on D6 test out this patch?

Once this is worked out we can backport to 5.x-2.x

AttachmentSize
station_319125.patch 1.81 KB

#4

Status:needs review» fixed

did some more testing and committed the attached to HEAD.

AttachmentSize
station_319125.patch 3.04 KB

#5

a couple more tweaks.

AttachmentSize
station_319125.patch 3.23 KB

#6

Version:6.x-2.x-dev» 5.x-2.x-dev
Status:fixed» patch (to be ported)

actually needs to go into D5.x-2.x...

#7

Status:patch (to be ported)» needs review
AttachmentSize
station_319125.patch 3.04 KB

#8

Status:needs review» fixed

committed to DRUPAL-5--2

#9

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.