issue #107, Remove the Action of without owner.

When remove the "User", to remove the "access_list" together, but don't remove "actions". 
When displaying the "actions", to display only the "actions" that the user(owner) is exists. 
To delete the "actions", run the deletion process on a cyclic(example:3600sec(1h)), 
to remove an "actions" if there is no owner user.However, USER_ID_SYSTEM is excluded .
to Yamato-san & everyone.

Thank you, for the comments, I was reflecting the comments.
Please re-confirmation.


2014-07-29 8:18 GMT+09:00 Kazuhiro Yamato <notifications@github.com>:

> In server/src/DBClientUser.cc:
>
> > @@ -738,6 +743,23 @@ bool DBClientUser::getUserInfo(UserInfo &userInfo, const UserIdType userId)
> >  	return true;
> >  }
> >
> > +void DBClientUser::getUserIdSet(
> UserIdSet &userIdSet)
> > +{
> > +        UserIdType   id;
> > +	UserInfoList userInfoList;
> > +	string       condition = "";
> > +
> > +	getUserInfoList(userInfoList, condition);
> > +	if (userInfoList.empty())
> > +		return;
> > +	UserInfoListIterator it = userInfoList.begin();
> > +	for(; it != userInfoList.end();++it) {
> > +	        const UserInfo &userInfo = *it;
> > +   	        id = userInfo.id;
>
> Space is included in the indent.
>
> And in this case, userIdSet.insert(userInfo.id) is enough simple and
> readable than the current 2 lines.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/project-hatohol/hatohol/pull/307/files#r15497581>.
>