silverstripe / silverstripe-campaign-admin

Campaign and publishing admin interface for Silverstripe
BSD 3-Clause "New" or "Revised" License
2 stars 16 forks source link

Campaign Publish and Remove Item buttons ignore canPublish and canEdit states #138

Open UndefinedOffset opened 5 years ago

UndefinedOffset commented 5 years ago

When the canPublish for a campaign returns false the campaign's "publish campaign" button is still visible and is not disabled which would be expected.

Conversely when the canEdit for a campaign returns falls items can still be removed from the campaign. The remove button does not reflect that state either.

Experienced using silverstripe/recipe-cms @ 4.3.3 with silverstripe/campaign-admin @ 1.3.3