Forums

Home » Mobile » Liferay Mobile SDK

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Nha Duong
Get Permission a User IOS
May 20, 2014 10:02 PM
Answer

Nha Duong

Rank: New Member

Posts: 24

Join Date: February 20, 2014

Recent Posts

I want to know a user have or not "add web content" permisson ?
I can work this in web , but in SDK i don't know steps to work this
Can you give step by step to work. I only learn Liferay System to work iOS via WebService, i don't understand in- depthdepth this system.
Bruno Farache
RE: Get Permission a User IOS
June 2, 2014 5:40 AM
Answer

Bruno Farache

LIFERAY STAFF

Rank: Liferay Master

Posts: 573

Join Date: May 14, 2007

Recent Posts

Nha,

I did a research about this and couldn't find a remote service that provides that out of the box. The user will get a permission exception if he tries to add the article without ADD permission, but only after he tries emoticon.

It would be nice to have this available though, I will talk to someone to see if it's possible to include in the next portal versions.

For the record, as I said previously, for these cases in which a service is not available for you, you can still create a plugin yourself that provides any service you want, and then, generate the iOS code with the SDK Builder.
Pier Paolo Ramon
R: Get Permission a User IOS
June 5, 2014 4:22 AM
Answer

Pier Paolo Ramon

Rank: Junior Member

Posts: 82

Join Date: May 25, 2010

Recent Posts

I created an issue exactly for this. One of the main issues preventing this to be easy to implement is the fact that there's no declarative way to map entities and group of entities to the relative *PermissionUtil.

Sent from my iPhone with Liferay.com Forums
Bruno Farache
RE: R: Get Permission a User IOS
June 5, 2014 4:28 AM
Answer

Bruno Farache

LIFERAY STAFF

Rank: Liferay Master

Posts: 573

Join Date: May 14, 2007

Recent Posts

Hi Pier, can you please share the link for the issue?
Pier Paolo Ramon
R: Get Permission a User IOS
June 5, 2014 5:06 AM
Answer

Pier Paolo Ramon

Rank: Junior Member

Posts: 82

Join Date: May 25, 2010

Recent Posts

Pretty hard to log in to Jira with the iPhone but here it is:
https://issues.liferay.com/browse/LPS-45302

It's really a big missing feature for us at SMC too.

Sent from my iPhone with Liferay.com Forums
Pier Paolo Ramon
R: Get Permission a User IOS
June 5, 2014 5:18 AM
Answer

Pier Paolo Ramon

Rank: Junior Member

Posts: 82

Join Date: May 25, 2010

Recent Posts

(While the previous message get approved, the issue is the LPS-45302)

Sent from my iPhone with Liferay.com Forums