reserves
  • Posts: 6
  • Joined: 22/02/2012
Hi,

We've integrated YAF with Umbraco's membership provider, this works so that when a member registers in Umbraco they can automatically login and post in YAF.

However we've added a member group (read Role) in Umbraco called 'Administrators' however when a member is added to this group they do not automatically become a Admin with YAF.

Is there an extra step we need to take?

Slightly confused why there seem to be two different ways of adding a user to a group in the database:

The yaf_prov_RoleMembership table and the yaf_UserGroup table?

Regards

Rich
Sponsor
leekelleher
  • Posts: 1
  • Joined: 22/02/2012
We are still trying to get to the bottom of this issue.

The YAF user tables do stay in-sync with the Umbraco members - including adding them to groups/roles.

The issue is with making an Umbraco member to be a YAF admin user. Just adding them to the "Administrators" group doesn't seem to work properly.

Digging around in the database, we have found that setting the "Flags" (in the 'yaf_User" table) to '3', then this enables the member to become an admin.

I guess my question really is... do we need to manually set the user's flags to achieve this? or is another (better) way to do this?

Thanks, Lee.
Users browsing this topic
    Forum Jump  
    • You cannot post new topics in this forum.
    • You cannot reply to topics in this forum.
    • You cannot delete your posts in this forum.
    • You cannot edit your posts in this forum.
    • You cannot create polls in this forum.
    • You cannot vote in polls in this forum.

    About Us

    The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

    Powered by Resharper Donate with PayPal button

    Project Twitter Updates

    Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved