Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Added a new feature to limit access to a page - please test it out

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1 2 3 4
Go to End
Author Topic: 6141 Views
  • Markus
    Avatar
    Google Summer of Code Hacker
    152 Posts

    Re: Added a new feature to limit access to a page - please test it out Link to this post

    OK, so I'll do that and just make sure that no one can login with an empty password (which should be already prevented by default - but I'll check that again).

    I'm still waiting for the role decorator code to finish the integration in the backend. I hope to get it soon to be able to finish everything for Monday.

  • Sam
    Avatar
    Administrator
    679 Posts

    Re: Added a new feature to limit access to a page - please test it out Link to this post

    Markus: I guess the situations I was thinking of were more along the lines of the SilverStripe forum, where anyone can register but you do need to give access.

    So, for some OpenID log-in forms, it needs to have the abillity to accept unrecognised OpenID accounts, and get their profile information (Name, Email) from the OpenID provider.

    The "activation link" type system does happen from time to time - mostly when you have a site containing private content that the owners want to control access to, but still let strangers request content. This is what my initial suggestion was aimed at, but is of secondary importance.

  • Markus
    Avatar
    Google Summer of Code Hacker
    152 Posts

    Re: Added a new feature to limit access to a page - please test it out Link to this post

    Yes, for the forum module it would make sense... I you want (and you give me SVN access ) I could work on that for the second milestone..

  • Sam
    Avatar
    Administrator
    679 Posts

    Re: Added a new feature to limit access to a page - please test it out Link to this post

    Could be a good idea. One of the things I would like to have is a more general registration system, that was used for the forum, and could be used for other sites with more custom functionality.

    Perhaps having a class such as RegistrationForm, that could be placed on a page and would let people fill out their details and become a member of the site - site implementors would choose:

    * the data fields that were collected
    * the permissions that people have once they were given access
    * the restrictions that needed to be met to get that access (nothing, email validation, administrator approval).

    On a particular, site, we could specify that such a registration form was available, and this could then suggest that failed log-ins (both standard and openid) go to the register page to sign up for an account.

    Markus - does this sound like a good way to approach this problem?

  • Markus
    Avatar
    Google Summer of Code Hacker
    152 Posts

    Re: Added a new feature to limit access to a page - please test it out Link to this post

    That sounds good

    The only thing I would change (or maybe just clarify):

    > * the permissions that people have once they were given access

    I would say the easiest thing would be to specify the group to which all the new members should be assigned automatically.

    In that way it is easy to get an overview of that kind of members or to modify their permissions.

  • Sigurd
    Avatar
    Forum Moderator
    628 Posts

    Re: Added a new feature to limit access to a page - please test it out Link to this post

    Markus, svn readonly to forum shall be ready fairly soon (trac/svn are not easy to set up all sorts of varied rights to) so you won't have to wait too long...

  • Markus
    Avatar
    Google Summer of Code Hacker
    152 Posts

    Re: Added a new feature to limit access to a page - please test it out Link to this post

    No.. unfortunately I still don't have access...

  • Sigurd
    Avatar
    Forum Moderator
    628 Posts

    Re: Added a new feature to limit access to a page - please test it out Link to this post

    I know hayden is working on this now as he's deliberating over svnserve vs apache access, so shouldn't need to hold your breath too much longer ;)

    6141 Views
Page: 1 2 3 4
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.