[Tizen-submit] 16434: Changes to Tizen:IVI/wrt-security

noreply at tizen.org noreply at tizen.org
Wed Oct 23 07:40:30 GMT 2013


Hi,
Hyunwoo Kim have made the following changes to wrt-security in project Tizen:IVI. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #16434

  submit:       Tizen:IVI:build/wrt-security(cleanup) -> Tizen:IVI


Message:
Submitter: Hyunwoo Kim <hwlove.kim at samsung.com>
Comments: sr
Git project: platform/framework/web/wrt-security
Tag: submit/tizen/20131023.074143
Commit: 81632354041131d7c7eee0ad465a7cbb1000bba4 Change DB operaion

State:   new        2013-10-23T07:41:56 tizenrobot
Comment: <no comment>
changes files:
--------------
--- wrt-security.changes
+++ wrt-security.changes
@@ -0,0 +1,3 @@
+* Wed Oct 23 2013 Hyunwoo Kim <hwlove.kim at samsung.com> 
+- Delete corresponding application data (AceAcceptedFeature, AceRequestedDevCaps) in ace DB when the application is deleted.
+

spec files:
-----------
--- wrt-security.spec
+++ wrt-security.spec
@@ -3,7 +3,7 @@
 Summary:    Wrt security daemon
 Version:    0.0.67
 Release:    0
-VCS:        platform/framework/web/wrt-security#submit/tizen/20131016.232008-0-gcf2d961f5dc2b3dd64e669ce0509c377936fe1eb
+VCS:        platform/framework/web/wrt-security#submit/tizen/20131023.074143-0-g81632354041131d7c7eee0ad465a7cbb1000bba4
 Group:      Security/Access Control
 License:    Apache-2.0
 URL:        N/A

other changes:
--------------

++++++ wrt-security-0.0.67.tar.gz
--- ace/orm/ace_db
+++ ace/orm/ace_db
@@ -54,14 +54,20 @@
     COLUMN_NOT_NULL(grant_smack,   INTEGER,  not null)
     COLUMN_NOT_NULL(dev_cap,       TEXT,)
 
-    TABLE_CONSTRAINTS(unique(app_id,dev_cap))
+    TABLE_CONSTRAINTS(
+        unique(app_id,dev_cap)
+        FOREIGN KEY (app_id) REFERENCES WidgetInfo (app_id) ON DELETE CASCADE
+    )
 CREATE_TABLE_END()
 
 CREATE_TABLE(AceAcceptedFeature)
     COLUMN_NOT_NULL(app_id,        INTEGER,  not null)
     COLUMN_NOT_NULL(feature,       TEXT,     not null)
 
-    TABLE_CONSTRAINTS(unique(app_id,feature))
+    TABLE_CONSTRAINTS(
+        unique(app_id,feature)
+        FOREIGN KEY (app_id) REFERENCES WidgetInfo (app_id) ON DELETE CASCADE
+    )
 CREATE_TABLE_END()
 
 CREATE_TABLE(WidgetInfo)
--- packaging/wrt-security.changes
+++ packaging/wrt-security.changes
@@ -1,3 +1,6 @@
+* Wed Oct 23 2013 Hyunwoo Kim <hwlove.kim at samsung.com> 
+- Delete corresponding application data (AceAcceptedFeature, AceRequestedDevCaps) in ace DB when the application is deleted.
+
 * Wed Oct 16 2013 Rusty Lynch <rusty.lynch at intel.com> submit/tizen/20131016.225248 at a4b3686
 - TIVI-1685: Add Speech API to Tizen policy
 - TIVI-1467: Add vehicle API to the Tizen Policy


More information about the Tizen-submit mailing list