http://groups.drupal.org/user/65822 -- user blocked.

However, seeing this new spam user within the context of the different tickets flying around about the need to synch accounts between d.o and g.d.o, I took a look to see if there was a corresponding username on d.o --

And, there was: http://drupal.org/user/642058 -- who is now blocked -- and blocking the user on d.o appeared to remove the user from the other *.d.o accounts.

Comments

greggles’s picture

Yes, if you need to block spam on a subsite then please block the user on d.o as well.

bonobo’s picture

Aside from doing a search on username, is there an automated way to connect the accounts?

greggles’s picture

Title: Spam user on g.d.o, leading to a question about Bakery » Provide a link to user account on main site (if user_access('administer uesrs'))
Project: Drupal.org site moderators » Bakery Single Sign-On System
Version: » 7.x-1.x-dev
Component: User account problem » Code
Assigned: bonobo » Unassigned
Category: support » feature
Status: Fixed » Active

How about we turn this into a Bakery feature to do just that :)

bonobo’s picture

Title: Provide a link to user account on main site (if user_access('administer uesrs')) » Provide a link to user account on main site (if user_access('administer users'))

Sounds like a plan.

I didn't know if I had overlooked something on this, as I haven't followed a lot of the Bakery discussions.

bonobo’s picture

How much Bakery information is exposed via views?

If this is exposed via views, then this would be pretty straightforward --

If someone gave me the rights on g.d.o (or preferably on the scratch version of g.d.o) I'd be glad to see if this could be done.

If the userid of the person's main account is exposed to views, this would be a simple task of grabbing that data, rewriting the output of the field to point to d.o user account, and only showing that view to users with admin user perms (or better yet, the permission to use the fasttoggle)

greggles’s picture

Title: Provide a link to user account on main site (if user_access('administer users')) » Provide a link to user account on main site

It is stored in the init field, which I don't think is available via views. As I thought about this more, I don't see why it has to be based on "administer users" - it seems legitimate that anyone looking at a profile on a subsite should see a link to the profile on the main site. We will have to strip "/edit" off the end of the init string, but that should be easy.

gábor hojtsy’s picture

Agreed, a public link to the master account should be fine on the user page.

greggles’s picture

Status: Active » Needs review
StatusFileSize
new1.03 KB
greggles’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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

drumm’s picture

Status: Closed (fixed) » Active

Unless I'm missing another issue, I believe this is broken on 7.x. http://denver2012.drupal.org/user does show the Master profile heading, but no link. I'm guessing the syntax didn't get fully converted from 6.x.

coltrane’s picture

Version: 7.x-1.x-dev » 7.x-2.x-dev
Category: feature » bug
Status: Active » Needs review
StatusFileSize
new1.22 KB

Yes, it's broken in 7.x-2.x right now.

drumm’s picture

Status: Needs review » Needs work

http://denver2012.drupal.org/users/micah is an example of this not working. Their init field has https instead of http.

greggles’s picture

drumm are you saying you deployed #12 and still have the problem?

Otherwise it could be #1338004: Do not store master protocol in init to better support mixed SSL domains that's causing that issue.

drumm’s picture

I think Ben deployed it. The link does work for http://denver2012.drupal.org/users/drumm.

Solving #1338004: Do not store master protocol in init to better support mixed SSL domains might actually be the way forward here.

coltrane’s picture

Status: Fixed » Closed (fixed)

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