[consulting] Restrict Group Access to one User Login Account
Sam Cohen
sam at samcohen.com
Thu Oct 8 15:45:33 UTC 2009
I actually had a client with the very same issue. They needed to have
multiple people use the same login and didn't want any of them changing
their password .
This module may do the job http://drupal.org/project/noreqnewpass
It didn't for me -- I can't exactly recall why, but I think it was because I
only needed it for one account -- but it was very easy to do this using the
hook form alter in a custom module, where you first check for that form, and
then for the user uid. If it's the account in question you just use the
form api to lock the password field and through up a message explaining why
-- or alternatively you could just redirect the user.
Sam
On Thu, Oct 8, 2009 at 11:29 AM, Shai Gluskin <shai at content2zero.com> wrote:
> Holly,
>
> The whole idea is asking for trouble.
>
> I don't even want to think about how to answer this question because this
> is such a bad idea. I'd tell the folks that Drupal simply doesn't do this.
>
> Maybe a single userid/pw can be encoded into the video files themselves?
>
> Is the video file being streamed from your site or a third party service?
>
> I'm sure someone else will have an idea how to help. But I'd recommend
> against ideas that get Drupal itself to hide the account page for a logged
> in user. Among other bad consequences, you'd be defeating a huge amount of
> Drupal functionality and crippling the site for future use-cases.
>
> Shai
>
>
> On Thu, Oct 8, 2009 at 11:11 AM, Holly Ferree <hferree at gmail.com> wrote:
>
>> Hi All,
>>
>> I work for a college (drupal 6). They want all of the nursing students to
>> be
>> able to login using the same username and password that will allow them to
>> access only nursing tagged content (video pages). I got the access issue
>> to
>> work with tac-lite. But have had no luck in researching my problem.
>>
>> My problem is:
>>
>> How do I restrict a username (ex. Nursing) from accessing the
>> user/(number)/edit and going to the Account Information section where they
>> can change the email and reset the password? I don't want one student to
>> be
>> able to block out 100+ fellow students. That just seems like asking for
>> trouble.
>>
>> Thanks,
>> Holly Ferree
>>
>> PS On a related note...Is there a good module to play movie files or do I
>> even need one with Drupal 6?
>>
>>
>> _______________________________________________
>> consulting mailing list
>> consulting at drupal.org
>> http://lists.drupal.org/mailman/listinfo/consulting
>>
>
>
> _______________________________________________
> consulting mailing list
> consulting at drupal.org
> http://lists.drupal.org/mailman/listinfo/consulting
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/consulting/attachments/20091008/72c27c3c/attachment-0001.html
More information about the consulting
mailing list