Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7368139
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T03:37:38+00:00 2026-05-29T03:37:38+00:00

web2py has a nice RBAC system as well as many built-in forms to manage

  • 0

web2py has a nice RBAC system as well as many built-in forms to manage users. I can’t see to find one to manage group membership. I realize there’s one in appadmin, but I need to use one in my app. Ideally, I’d like to see checkboxes for the different groups in the user registration/profile page.

How can I accomplish this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T03:37:39+00:00Added an answer on May 29, 2026 at 3:37 am

    I don’t think there’s anything standard built in for this, but you could easily build your own using Crud, or even more easily with SQLFORM.grid / SQLFORM.smartgrid. For example:

    def manage_groups():
        return dict(form=SQLFORM.grid(db.auth_membership))
    

    or

    def manage_users():
        return dict(form=SQLFORM.smartgrid(db.auth_users))
    

    If you want to select multiple groups on a registration/profile page, that’s a little more complicated, but still not too difficult. You’d have to add checkboxes or a multiselect to the form, and when the form is submitted, have some logic in the controller that handles the inserts into db.auth_membership based on the memberships selected.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Well I want to use WEb2Py because it's pretty nice.. I just need to
The web2py grid/smartgrid documentation documentation has a long list of parameters, but a sparse
I am a current web2py user, but find I still go back to Django
Make things as simple as possible, but no simpler. Can we find the solution/s
I am studying web2py. I read example open source code. In one application (storpy),
There seem to be many excellent web frameworks for Python. Has anyone used any
I need to create a project that has a web frontend to manage synchronous
Web2py looks like a very nice Python framework but I am wondering if it
Can anybody suggest how to host a web2py app? I know that google app
Can you change the view being used by web2py in the controller? Ideally I'd

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.