Currently there is support for the concept of a hidden record. This is a great concept for record authors that want to make a record unavailable to the general public in cases such as a record that is not yet completed and gets past the restrictions on non-admins using publish/unpublish. Unfortunately, the record still shows up in record listings. If you try to display the full record, users (other than the author) will get an error message saying the record is hidden.
What I would like to do is have records marked as "hidden" not show up in record listing results unless the user is the author OR the user has the viewing access level set in the Section parameter "show_restricted" (labeled "Who can see restricted articles in the list").
I have accomplished this without changing the core code by writing some code in the records template which includes an indicator showing that a record is marked as hidden. The downside of doing it here is that the record count displayed with the pagination controls is wrong. Ideally this functionality should be part of the retrieval of records that is fed to the template. Does this sound like something that can be added to a future release? I think then it would complete the concept of hidden records.
Currently there is support for the concept of a hidden record. This is a great concept for record authors that want to make a record unavailable to the general public in cases such as a record that is not yet completed and gets past the restrictions on non-admins using publish/unpublish. Unfortunately, the record still shows up in record listings. If you try to display the full record, users (other than the author) will get an error message saying the record is hidden.
What I would like to do is have records marked as "hidden" not show up in record listing results unless the user is the author OR the user has the viewing access level set in the Section parameter "show_restricted" (labeled "Who can see restricted articles in the list").
I have accomplished this without changing the core code by writing some code in the records template which includes an indicator showing that a record is marked as hidden. The downside of doing it here is that the record count displayed with the pagination controls is wrong. Ideally this functionality should be part of the retrieval of records that is fed to the template. Does this sound like something that can be added to a future release? I think then it would complete the concept of hidden records.