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.
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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.
Oops, just saw the comment about adding this to the migration script so I need to do that now.
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.
Pushed some fixes.