Member_ImageGalleryRolesTest
clickAtAndWait link=Define Permissions
selectAndWait _128_add-permissions label=Image Gallery
uncheck _128_rowIds
uncheck //input[@name='_128_rowIds' and @value='com.liferay.portlet.imagegalleryADD_IMAGE']
uncheck //input[@name='_128_rowIds' and @value='com.liferay.portlet.imagegalleryPERMISSIONS']
check //input[@name='_128_rowIds' and @value='com.liferay.portlet.imagegalleryVIEW']
check //input[@name='_128_rowIds' and @value='com.liferay.portlet.imagegallery.model.IGFolderACCESS']
check //input[@name='_128_rowIds' and @value='com.liferay.portlet.imagegallery.model.IGFolderADD_IMAGE']
uncheck //input[@name='_128_rowIds' and @value='com.liferay.portlet.imagegallery.model.IGFolderADD_SUBFOLDER']
uncheck //input[@name='_128_rowIds' and @value='com.liferay.portlet.imagegallery.model.IGFolderDELETE']
uncheck //input[@name='_128_rowIds' and @value='com.liferay.portlet.imagegallery.model.IGFolderPERMISSIONS']
uncheck //input[@name='_128_rowIds' and @value='com.liferay.portlet.imagegallery.model.IGFolderUPDATE']
check //input[@name='_128_rowIds' and @value='com.liferay.portlet.imagegallery.model.IGFolderVIEW']
uncheck //input[@name='_128_rowIds' and @value='com.liferay.portlet.imagegallery.model.IGImageDELETE']
uncheck //input[@name='_128_rowIds' and @value='com.liferay.portlet.imagegallery.model.IGImagePERMISSIONS']
uncheck //input[@name='_128_rowIds' and @value='com.liferay.portlet.imagegallery.model.IGImageUPDATE']
check //input[@name='_128_rowIds' and @value='com.liferay.portlet.imagegallery.model.IGImageVIEW']
clickAtAndWait //input[@value='Save']
assertTextPresent The role permissions were updated.