Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to hide all other states except the Final state from non-collaborators/reviewers in Comala?

Hello,

Just started to use Comala today, so please excuse me if its a silly question.

I created a basic workflow and was testing it out with a colleague. He is able to see the "View In Progress" link, clicking on which takes him to a draft version of the page that I was editing and is not yet approved. 

Is there a way to limit non-collaborators or non-reviewers whom I've not specifically added to the workflow to not view any other state except the current Approved (Final) state?

My aim is to limit the drafts to only those who are working on the changes to view them and not to rest of the folks. Everyone else not involved should only see the current Approved (Final) version of the page.

Thank you.

2 answers

Hi Davin,

Interesting question... definitely not a silly one!

By default in Comala Document Management drafts are shown to Space Administrators and Page Editors (as defined by Confluence permissions).

If you want to restrict the visibility of In Progress versions to the collaborator and your reviewers you need to add page edit restrictions to limit the ability to edit the page to the user that initiated the change and the reviewers group. You can do this automatically with your workflow using triggers and action macros as explained in the other post you mentioned and a 'value reference' to the user.

To prevent non-collaborators or non-reviewers from viewing a page that does not have an approved version, we add view page restrictions to the page creator and the reviewers group.

All types of restrictions are removed when the page in approved.

I have prepared an example workflow below to show the basic functionality:

{workflow:name=Example of hiding In Progress state from non-collaborators}
{state:In Progress|approved=Approved}
{approval:Review|group=reviewers}
{state}
{state:Approved|final=true|updated=In Progress|hideselection=true}
{state}
{trigger:pagecreated}
{add-restriction:type=view|user=@user@|group=reviewers}
{trigger}
{trigger:statechanged|state=In Progress}
{add-restriction:type=edit|user=@user@|group=reviewers}
{trigger}
{trigger:pageapproved|approval=Review}
{remove-restriction:type=edit}
{remove-restriction:type=view}
{trigger}
{workflow}

If you have any further questions please let me know here. If you would prefer more detailed support you can contact our friendly support team anytime at https://support.comalatech.com 

Kind regards

James
Senior Product Manager

Hey @James Conway _Comalatech_ 

Thank you so much for this detailed explanation. As I mentioned, I'm just a couple of days old in Comala so I need to playaround more to understand and implement this but I get the crux of what you mentioned so will now go ahead and try it out.

Thank you again so much. Will get back to you if I face a problem. :)

@James Conway _Comalatech_ I saw your response to this thread.

But I do not want to change restrictions of the page. I just don't want the "In Progress" version of the page to be visible to anyone else apart from the person who initiated the change and the reviewers/collaborators group.

In short, everyone not involved in the change should only see the Approved (Final) version of the page and not any other State versions.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Marketplace Apps & Integrations

Bitbucket Smart Commits vs. Genius Commits - What's the difference?

If you already heard about Smart Commits in Bitbucket, know that you just stumbled upon something even better (and smarter!): Genius Commits by Better DevOps Automation for Jira Data Center (+ Server...

106 views 0 2
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you