edit_facility_26115 #3

Merged
francesco.mangiacrapa merged 37 commits from edit_facility_26115 into master 2024-03-19 10:21:22 +01:00
3 changed files with 10 additions and 4 deletions
Showing only changes of commit 5031c3b9c0 - Show all commits

View File

@ -104,7 +104,7 @@ public interface CKanPublisherService extends RemoteService {
* @return true if he/she can publish, false otherwise
* @throws Exception the exception
*/
boolean isPublisherUser() throws Exception;
Boolean isPublisherUser() throws Exception;
/**
* Get the list of vocabulary tags for this scope.
@ -131,7 +131,7 @@ public interface CKanPublisherService extends RemoteService {
* @return true, if is owner or admin user
* @throws Exception the exception
*/
boolean isPublisherOwnerOrAdminUser(String datasetIdOrName) throws Exception;
Boolean isPublisherOwnerOrAdminUser(String datasetIdOrName) throws Exception;
/**
* Gets the dataset bean for update.

View File

@ -181,4 +181,10 @@
height: 22px !important;
padding: 0px !important;
margin: 0px !important;
}
#the_catalogue_nav_bar .btn.disabled {
/*background-color: #E6E6E6;*/
text-decoration: none !important;
color: #333333 !important;
}

View File

@ -1181,7 +1181,7 @@ public class CKANPublisherServicesImpl extends RemoteServiceServlet implements C
* @throws Exception the exception
*/
@Override
public boolean isPublisherUser() throws Exception {
public Boolean isPublisherUser() throws Exception {
String username = GenericUtils.getCurrentUser(getThreadLocalRequest()).getUsername();
logger.info("Checking if the user " + username + " can publish or not on the catalogue");
@ -1265,7 +1265,7 @@ public class CKANPublisherServicesImpl extends RemoteServiceServlet implements C
* @throws Exception the exception
*/
@Override
public boolean isPublisherOwnerOrAdminUser(String datasetIdOrName) throws Exception {
public Boolean isPublisherOwnerOrAdminUser(String datasetIdOrName) throws Exception {
String username = GenericUtils.getCurrentUser(getThreadLocalRequest()).getUsername();
logger.info("Checking if the user " + username + " can publish or not on the catalogue");