#2962 Add an option to restrict forums within the discussion tool to be member/developer visible only

v1.0.0
closed
Forum
nobody
2015-08-20
2011-10-10
No

Rather than create a tool/mount point for each SFX forum (some projects have 10-50 forums), all we need to be able to do is restrict a forum within the tool to be visible by developers only.

Discussion

  • John Hoffman - 2011-10-14

    Also update the migration script to detect and set this permission during forum migration.

    Can you also double check the existing perm migration, I don't recall if there's a need to restrict anon access per tool or forum.

     
  • Dave Brondsema

    Dave Brondsema - 2011-10-14
    • size: --> 4
     
  • Jenny Steele - 2011-10-18
    • status: open --> in-progress
    • assigned_to: Jenny Steele
     
  • Jenny Steele - 2011-10-20

    On allura js/2962. To test, add a discussion forum and mark it as members only in the admin. As a user with the developer permission, you can see the forum and any threads inside it. As an anon or non-member user, you cannot see the forum or its threads in any lists on the app like /p/test/discussion/ or in the sidebar. If you try to directly access the forum or a thread in it by url, you will get a 403. After confirming these things, uncheck members only in the admin and make sure the non-member user can see and access everything again.

    • status: code-review --> in-progress
    • assigned_to: Wayne Witzel III --> Jenny Steele
     
  • Jenny Steele - 2011-10-20
    • status: in-progress --> code-review
    • assigned_to: Jenny Steele --> Wayne Witzel III
     
  • Jenny Steele - 2011-10-20

    Oops, just saw the comment about adding this to the migration script so I need to do that now.

     
  • Jenny Steele - 2011-10-20
    • status: in-progress --> code-review
    • assigned_to: Jenny Steele --> Wayne Witzel III
     
  • Jenny Steele - 2011-10-20

    I added the migration part on forge classic js/2962. To test that, just run the migration and make sure any private forums get copied over with the members only flag. There is one already in project1 to test with.

     
  • Jenny Steele - 2011-10-25
    • assigned_to: Wayne Witzel III --> Dave Brondsema
     
  • Dave Brondsema

    Dave Brondsema - 2011-10-27
    • status: code-review --> in-progress
    • assigned_to: Dave Brondsema --> Jenny Steele
     
  • Dave Brondsema

    Dave Brondsema - 2011-10-27
    • the text for members only should say developers only instead
    • on the new_forum form, if you set it to allow anon and don't set members-only, it says "You cannot have anonymous posts in a members only forum."
    • when creating a new post, the drop-down should only include forums you have permission to
    • the top-level forum wide RSS feed needs to do permission checks
     
  • Jenny Steele - 2011-10-27
    • status: in-progress --> code-review
    • assigned_to: Jenny Steele --> Dave Brondsema
     
  • Jenny Steele - 2011-10-27

    Pushed some fixes.

     
  • Dave Brondsema

    Dave Brondsema - 2011-10-28
    • status: code-review --> closed
     

Log in to post a comment.